docs: update wording in upgrade guide

This commit is contained in:
Jens Langhammer 2020-09-09 18:55:01 +02:00
parent 894cee6123
commit a0e81650d7
2 changed files with 13 additions and 9 deletions

View File

@ -15,6 +15,9 @@ image:
nameOverride: "" nameOverride: ""
serverReplicas: 1
workerReplicas: 1
config: config:
# Optionally specify fixed secret_key, otherwise generated automatically # Optionally specify fixed secret_key, otherwise generated automatically
# secret_key: _k*@6h2u2@q-dku57hhgzb7tnx*ba9wodcb^s9g0j59@=y(@_o # secret_key: _k*@6h2u2@q-dku57hhgzb7tnx*ba9wodcb^s9g0j59@=y(@_o

View File

@ -1,6 +1,6 @@
# Upgrading to 0.10 # Upgrading to 0.10
This upgrade brings a few database changes with it, some of which have to be done manually. The main changes are: This update brings a lot of big features, such as:
- New OAuth2/OpenID Provider - New OAuth2/OpenID Provider
@ -24,7 +24,7 @@ This upgrade brings a few database changes with it, some of which have to be don
- uwsgi has been replaced with Gunicorn and uvicorn. - uwsgi has been replaced with Gunicorn and uvicorn.
- Elastic APM has been replaced with Sentry Performance metrics - Elastic APM has been replaced with Sentry Performance metrics
- Flow title is now configurable separately from the name - Flow title is now configurable separately from the name
- All logs are now json - All logging output is now json
## Upgrading ## Upgrading
@ -50,17 +50,18 @@ A few options have changed:
- `error_reporting` was changed from a simple boolean to a dictionary: - `error_reporting` was changed from a simple boolean to a dictionary:
```yaml ```yaml
error_reporting: error_reporting:
enabled: false enabled: false
environment: customer environment: customer
send_pii: false send_pii: false
``` ```
- The `apm` and `monitoring` blocks have been removed. - The `apm` and `monitoring` blocks have been removed.
- `serverReplicas` and `workerReplicas` have been added - `serverReplicas` and `workerReplicas` have been added
During this update you must change `serverReplicas` to 0, and run a `helm upgrade`. Otherwise, an automatic upgrade process is attempted. !!! error "Important"
During this update you must change `serverReplicas` to 0, and run a `helm upgrade`. Otherwise, an automatic upgrade process is attempted.
To run the commands below, use the prefix `kubectl exec -it passbook-*-worker-* -- ./manage.py`. To run the commands below, use the prefix `kubectl exec -it passbook-*-worker-* -- ./manage.py`.