Reverting the monitor-dashboard password to template.

Pingou removed the special chars, should help prevent attempts
at evaluation or commenting parts of the password string.
This commit is contained in:
Adam Saleh 2020-10-21 07:41:22 +02:00
parent e7990b05fe
commit 8caf5318b7
3 changed files with 1 additions and 13 deletions

View file

@ -35,12 +35,6 @@
template: dashboard_config.yml
objectname: dashboard_config.yml
- role: openshift/object
app: monitor-dashboard
template: secret.yml
objectname: secret.yml
- role: openshift/object
app: monitor-dashboard
file: service.yml

View file

@ -16,7 +16,7 @@ data:
default: true
user: datanommer_ro
secureJsonData:
password: "$DATANOMER_PWD"
password: {{ datanommer_ro_password }}
jsonData:
sslmode: "disable" # disable/require/verify-ca/verify-full
maxOpenConns: 0 # Grafana v5.4+

View file

@ -1,6 +0,0 @@
- apiVersion: v1
data:
DATANOMER_PWD: "{{ datanommer_ro_password | b64encode }}"
kind: Secret
metadata:
name: datanommer-secret