Skip to content

Commit

Permalink
Update profile Readme with GCP and location info (#4811)
Browse files Browse the repository at this point in the history
  • Loading branch information
SupriyaKasten authored and Ilya Kislenko committed Jan 24, 2019
1 parent 60a3dc4 commit 6c1db66
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions helm/profile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@ management on Kubernetes.
# Add the Kanister helm repo
$ helm repo add kanister https://charts.kanister.io/

# Create a Profile with the default name in the kanister namespace
# Create a Profile with the default name in the kanister namespace and AWS credentials set
$ helm install kanister/profile --namespace kanister \
--set defaultProfile=true \
--set location.type='s3Compliant' \
--set aws.accessKey="${AWS_ACCESS_KEY}" \
--set aws.secretKey="${AWS_SECRET_KEY}" \
--set location.bucket='my-kanister-bucket'

# Create a Profile with GCP credentials set
$ helm install kanister/profile --namespace kanister \
--set defaultProfile=true \
--set location.type='gcs' \
--set gcp.projectID="my-project-ID" \
--set-file gcp.serviceKey='path-to-json-file-containing-google-app-credentials' \
--set location.bucket='my-kanister-bucket'
```

## Overview
Expand Down Expand Up @@ -52,9 +60,12 @@ passed to the profile sub-chart.
| --- | --- | --- |
| `defaultProfile` | (Optional) Set to ``true`` to create a profile with name `default-profile`. | ``false`` |
| `profileName` | (Required if `! defaultProfile`) Name of the Profile CR. | `nil` |
| `aws.accessKey` | (Required) API Key for an s3 compatible object store. | `nil` |
| `aws.secretKey` | (Required) Corresponding secret for `accessKey`. | `nil` |
| `location.bucket` | (Required) Bucket used to store Kanister artifacts.<br><br>The bucket must already exist. | `nil` |
| `aws.accessKey` | (Required if gcp creds not set) API Key for an s3 compatible object store. | `nil` |
| `aws.secretKey` | (Required if gcp creds not set) Corresponding secret for `accessKey`. | `nil` |
| `gcp.projectID` | (Required if aws creds not set) Project ID of the google application. | `nil` |
| `gcp.serviceKey` | (Required if aws creds not set) Path to json file containing google application credentials. | `nil` |
| `location.type` | (Optional) Location type: s3Compliant or gcs. | `nil` |
| `location.bucket` | (Required if location.type is set) Bucket used to store Kanister artifacts.<br><br>The bucket must already exist. | `nil` |
| `location.region` | (Optional) Region to be used for the bucket. | `nil` |
| `location.endpoint` | (Optional) The URL for an s3 compatible object store provider. Can be omitted if provider is AWS. Required for any other provider. | `nil` |
| `verifySSL` | (Optional) Set to ``false`` to disable SSL verification on the s3 endpoint. | `true` |
Expand Down

0 comments on commit 6c1db66

Please sign in to comment.