Skip to content

Commit 70f50a5

Browse files
author
Vaughn Dice
authored
Merge pull request #681 from vdice/upgrade-note-gcs-gcr
docs(*): add upgrade note for gcs/gcr
2 parents ea601f0 + 2211f67 commit 70f50a5

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/managing-workflow/upgrading-workflow.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ period of downtime while the database recovers from backup.
3131
$ helm upgrade deis/workflow
3232
```
3333

34+
35+
**Note:** If using off-cluster object storage on [gcs](https://cloud.google.com/storage/) and/or off-cluster registry using [gcr](https://cloud.google.com/container-registry/) and intending to upgrade from a pre-`v2.10.0` chart to `v2.10.0` or greater, the `key_json` values will now need to be pre-base64-encoded. Therefore, assuming the rest of the custom/off-cluster values are defined in the existing `values.yaml` used for previous installs, the following may be run:
36+
37+
```
38+
$ B64_KEY_JSON="$(cat ~/path/to/key.json | base64 | tr -d '[:space:]')"
39+
$ helm upgrade <release_name> deis/workflow -f values.yaml --set gcs.key_json="${B64_KEY_JSON}",registry-token-refresher.gcr.key_json="${B64_KEY_JSON}"
40+
$ # alternatively, simply replace the appropriate values in values.yaml and do without the `--set` parameter
41+
```
42+
3443
### Step 2: Verify Upgrade
3544

3645
Verify that all components have started and passed their readiness checks:

0 commit comments

Comments
 (0)