You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/installing-workflow/configuring-object-storage.md
+35-5Lines changed: 35 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,13 @@ The builder reads credentials from the below locations on the filesystem.
54
54
55
55
### Helm Chart
56
56
57
-
If you are using the [Helm Chart for Workflow][helm-chart], put your credentials in the [`minio-user` secret][minio-user-secret] (under `access-key-id` and `access-secret-key`) before you `helm install`. For more information, see the [installation instructions][helm-install] for more details on using Helm.
57
+
If you are using the [Helm Chart for Workflow][helm-chart], put your base64-encoded credentials in the [`minio-user` secret][minio-user-secret] (under `access-key-id` and `access-secret-key`) before you `helm install`. For more information, see the [installation instructions][helm-install] for more details on using Helm.
58
+
59
+
Note - to base64 encode your credentials, you can use the `base64` tool on most systems. Here's an example usage:
60
+
61
+
```console
62
+
echo $MY_ACCESS_KEY | base64
63
+
```
58
64
59
65
### A Note on Google Cloud Storage
60
66
@@ -82,7 +88,13 @@ The slugbuilder reads credentials from the below locations on the filesystem.
82
88
83
89
### Helm Chart
84
90
85
-
If you are using the [Helm Chart for Workflow][helm-chart], put your credentials in the [`minio-user` secret][minio-user-secret] (under `access-key-id` and `access-secret-key`) before you `helm install`. For more information, see the [installation instructions][helm-install] for more details on using Helm.
91
+
If you are using the [Helm Chart for Workflow][helm-chart], put your base64-encoded credentials in the [`minio-user` secret][minio-user-secret] (under `access-key-id` and `access-secret-key`) before you `helm install`. For more information, see the [installation instructions][helm-install] for more details on using Helm.
92
+
93
+
Note - to base64 encode your credentials, you can use the `base64` tool on most systems. Here's an example usage:
@@ -103,7 +115,7 @@ The slugrunner reads credentials from the below locations on the filesystem.
103
115
104
116
The [Helm Chart for Workflow][helm-chart] contains no manifest for the slugrunner. As noted above, the controller handles all configuration and lifecycle management for you.
105
117
106
-
If, however, you wish to run the slugrunner as a standalone component, you can use the [`minio-user` secret][minio-user-secret] to easily provide your pods with the credentials information they need. To do so, put your credentials information into the `access-key-id` and `access-secret-key` fields, and mount the secret like this:
118
+
If, however, you wish to run the slugrunner as a standalone component, you can use the [`minio-user` secret][minio-user-secret] to easily provide your pods with the credentials information they need. To do so, put your base64-encoded credentials information into the `access-key-id` and `access-secret-key` fields, and mount the secret like this:
107
119
108
120
Under the `spec.template.spec.volumes` section:
109
121
@@ -121,6 +133,12 @@ Under the `spec.template.spec.containers[0].volumeMounts` section:
121
133
readOnly: true
122
134
```
123
135
136
+
Note - to base64 encode your credentials, you can use the `base64` tool on most systems. Here's an example usage:
When the controller needs to launch or scale a new buildpack application, it uses a [replication controller](http://kubernetes.io/docs/user-guide/replication-controller/). Since the slugrunner needs to download the slug to run, it needs the object storage location of the slug and the object storage credentials.
@@ -149,7 +167,13 @@ The registry reads the credential information from a `/var/run/secrets/deis/regi
149
167
150
168
### Helm Chart
151
169
152
-
If you are using the [Helm Chart for Workflow][helm-chart], put your credentials in the [objectstorage.toml][objectstorage-toml] file before you run `helm generate`. For more information, see the [installation instructions][helm-install] for more details on using Helm.
170
+
If you are using the [Helm Chart for Workflow][helm-chart], put your base64-encoded credentials in the [objectstorage.toml][objectstorage-toml] file before you run `helm generate`. For more information, see the [installation instructions][helm-install] for more details on using Helm.
171
+
172
+
Note - to base64 encode your credentials, you can use the `base64` tool on most systems. Here's an example usage:
@@ -188,7 +212,13 @@ You'll also need to add two environment variables to the https://github.com/deis
188
212
189
213
### Helm Chart
190
214
191
-
If you are using the [Helm Chart for Workflow][helm-chart], put your credentials in the [objectstorage.toml][objectstorage-toml] file before you run `helm generate`. For more information, see the [installation instructions][helm-install] for more details on using Helm.
215
+
If you are using the [Helm Chart for Workflow][helm-chart], put your base64-encoded credentials in the [objectstorage.toml][objectstorage-toml] file before you run `helm generate`. For more information, see the [installation instructions][helm-install] for more details on using Helm.
216
+
217
+
Note - to base64 encode your credentials, you can use the `base64` tool on most systems. Here's an example usage:
0 commit comments