1
0
Fork 0

app/covid-formity: enable redis password

This has already been deployed in production

Change-Id: I9c603a4985332d422d8875ecf6f8dca157f32f22
master
informatic 2020-10-10 19:44:31 +02:00 committed by informatic
parent 7e3447f3ff
commit cf47f08481
1 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,7 @@ local postgres = import "../../kube/postgres.libsonnet";
cfg+: {
namespace: cfg.namespace,
appName: "covid-formity",
password: { secretKeyRef: { name: "covid-formity", key: "redis_password" } },
storageClassName: app.postgres.cfg.storageClassName,
},
},
@ -61,6 +62,8 @@ local postgres = import "../../kube/postgres.libsonnet";
DATABASE_HOSTNAME: "postgres",
DATABASE_USERNAME: app.postgres.cfg.username,
DATABASE_PASSWORD: app.postgres.cfg.password,
CACHE_REDIS_PASSWORD: app.redis.cfg.password,
CACHE_REDIS_URL: "redis://default:$(CACHE_REDIS_PASSWORD)@redis",
DATABASE_NAME: app.postgres.cfg.appName,
SPACEAUTH_CONSUMER_KEY: "covid-formity",
SPACEAUTH_CONSUMER_SECRET: { secretKeyRef: { name: "covid-formity", key: "oauth2_secret" } },