Skip to content

Commit 297307c

Browse files
seanknoxultimateboy
authored andcommitted
docs(upgrading-workflow): Add instructions to preserve platform SSL credentials (#561)
1 parent 8d8b7ec commit 297307c

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

src/managing-workflow/upgrading-workflow.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Fetching the new chart copies the chart from the chart cache into the helmc work
7575
$ helmc fetch deis/workflow-${DESIRED_WORKFLOW_RELEASE}
7676
```
7777

78-
### Step 3: Fetch credentials
78+
### Step 3: Fetch builder, database, and platform SSL credentials
7979

8080
The first time Workflow is installed, Helm automatically generates secrets for the builder and database components.
8181
When upgrading, take care to use credentials from the running Workflow installation. The following commands export the
@@ -89,6 +89,14 @@ $ kubectl --namespace=deis get secret database-creds -o yaml > ~/active-deis-dat
8989
$ kubectl --namespace=deis get secret builder-ssh-private-keys -o yaml > ~/active-deis-builder-secret-ssh-private-keys.yaml
9090
```
9191

92+
#### Optional: Fetch platform SSL credentials
93+
Installations that have installed a [platform SSL](https://deis.com/docs/workflow/managing-workflow/platform-ssl/) certificate and private key on the router will need to save those secrets locally as well. They will be installed at a later step with the other credentials saved to the local workstation.
94+
95+
```
96+
# fetch the platform SSL certificate and private key and store on the local workstation
97+
$ kubectl --namespace=deis get secret deis-router-platform-cert -o yaml > ~/active-deis-router-platform-cert.yaml
98+
```
99+
92100
### Step 4: Modify and update configuration
93101

94102
Before generating the manifests for the newest release, operators should update the new `generate_params.toml` to match
@@ -118,6 +126,13 @@ $ cp ~/active-deis-builder-secret-ssh-private-keys.yaml \
118126
$(helmc home)/workspace/charts/workflow-${DESIRED_WORKFLOW_RELEASE}/manifests/deis-builder-secret-ssh-private-keys.yaml
119127
```
120128

129+
If platform SSL credentials were saved in the Step 3, copy those secrets in place as well:
130+
```
131+
# copy your active platform SSL certificate and key into the helmc workspace for the desired version
132+
$ cp ~/active-deis-router-platform-cert.yaml \
133+
$(helmc home)/workspace/charts/workflow-${DESIRED_WORKFLOW_RELEASE}/manifests/deis-router-platform-cert.yaml
134+
```
135+
121136
!!! note
122137
Make sure to copy the existing credentials manifests into the new chart
123138
location *after* `helmc generate` to preserve credentials from the running system.

0 commit comments

Comments
 (0)