forked from hswaw/hscloud
app/covid-formity: enable redis password
This has already been deployed in production Change-Id: I9c603a4985332d422d8875ecf6f8dca157f32f22master
parent
7e3447f3ff
commit
cf47f08481
|
@ -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" } },
|
||||
|
|
Loading…
Reference in New Issue