[indico-web] Land missing secrets, make secrets names uppercase everywhere
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [indico-web] Land missing secrets, make secrets names uppercase everywhere
- Date: Mon, 2 Dec 2019 16:02:15 +0000 (UTC)
commit b871b4e830f2283326f2c88788422e9e95cc816b
Author: Andrea Veri <av gnome org>
Date: Mon Dec 2 16:02:10 2019 +0000
Land missing secrets, make secrets names uppercase everywhere
oscp.yml | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)
---
diff --git a/oscp.yml b/oscp.yml
index 2a508cd..3c0d312 100644
--- a/oscp.yml
+++ b/oscp.yml
@@ -65,11 +65,13 @@ objects:
template.openshift.io/expose-pguser: "{.data['pguser']}"
template.openshift.io/expose-pgpassword: "{.data['pgpassword']}"
template.openshift.io/expose-pgdatabase: "{.data['pgdatabase']}"
+ template.openshift.io/expose-secret_key: "{.data['pgport']}"
template.openshift.io/expose-secret_key: "{.data['secret_key']}"
stringData:
pghost: "${PGHOST}"
pguser: "${PGUSER}"
pgpassword: "${PGPASSWORD}"
+ pgport: "${PGPORT}"
pgdatabase: "${PGDATABASE}"
secret_key: "${SECRET_KEY}"
@@ -242,6 +244,11 @@ objects:
secretKeyRef:
name: indico-secrets
key: pgdatabase
+ - name: PGPORT
+ valueFrom:
+ secretKeyRef:
+ name: indico-secrets
+ key: pgport
- name: SECRET_KEY
valueFrom:
secretKeyRef:
@@ -318,27 +325,32 @@ objects:
value: redis://indico-redis:6379/0
- name: C_FORCE_ROOT
value: "true"
- - name: pghost
+ - name: PGHOST
valueFrom:
secretKeyRef:
name: indico-secrets
key: pghost
- - name: pguser
+ - name: PGUSER
valueFrom:
secretKeyRef:
name: indico-secrets
key: pguser
- - name: pgpassword
+ - name: PGPASSWORD
valueFrom:
secretKeyRef:
name: indico-secrets
key: pgpassword
- - name: pgdatabase
+ - name: PGDATABASE
valueFrom:
secretKeyRef:
name: indico-secrets
key: pgdatabase
- - name: secret_key
+ - name: PGPORT
+ valueFrom:
+ secretKeyRef:
+ name: indico-secrets
+ key: pgport
+ - name: SECRET_KEY
valueFrom:
secretKeyRef:
name: indico-secrets
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]