fix: converted Plausible config to secret

This was done as the Plausible configuration file contains the secret key base which is used to encrypt the cookies.
This commit is contained in:
Oscar Beaumont
2021-08-02 15:01:55 +08:00
parent 46f050f54c
commit dabb387823
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ spec:
args:
- sleep 30 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh db init-admin
envFrom:
- configMapRef:
- secretRef:
name: plausible-config
env:
- name: POSTGRES_USER
@ -95,7 +95,7 @@ spec:
ports:
- containerPort: 8000
envFrom:
- configMapRef:
- secretRef:
name: plausible-config
env:
- name: POSTGRES_USER