Skip to content

Commit d615130

Browse files
authored
Merge pull request #8 from Aguafrommars/user/ole
User/ole
2 parents 664e12d + e6734cf commit d615130

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,4 +160,15 @@ This sample setup the Email Sender url using the appsettings.json file.
160160
|admin_name|The generated admin user name|string|false|
161161
|admin_password|The generated admin user password|string|true|
162162
163+
## Upgrading from 1.0.x to 2.0.0
163164
165+
Stores protections keys duration was not long enough in version 1.0.x. since version 2.0.0 the duration 1000 years but to upgrade from 1.0.x you must save stores protection keys in *.pem* files at your terraform root or the server will not be able to read your dataprotection keys and signing keys any more :
166+
167+
```bash
168+
kubectl get secrets theidserver-certs -n theidserver -o jsonpath="{.data['dataProtection\.crt']}" | base64 -d >> data_protection.pem
169+
kubectl get secrets theidserver-certs -n theidserver -o jsonpath="{.data['dataProtection\.key']}" | base64 -d >> data_protection_private_key.pem
170+
kubectl get secrets theidserver-certs -n theidserver -o jsonpath="{.data['signingKey\.crt']}" | base64 -d >> signing_key.pem
171+
kubectl get secrets theidserver-certs -n theidserver -o jsonpath="{.data['signingKey\.key']}" | base64 -d >> signing_key_private_key.pem
172+
```
173+
174+
The version 2.0.0 and above check if those files exists and use them instead of generated certificates.

0 commit comments

Comments
 (0)