summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-02-24 08:31:43 -0500
committerGitHub <noreply@github.com>2017-02-24 08:31:43 -0500
commitcecc1f83edf078842e7ca104f9dc495bf65b1e9b (patch)
tree1c1f0de11fea25018503251982f896831aae5cd7 /roles/openshift_logging
parente660703c08a935e01f9e41e764a4d0b51031ab40 (diff)
parentdee01dd82e4acc74512b4b40fb56aa5ea024921f (diff)
downloadopenshift-cecc1f83edf078842e7ca104f9dc495bf65b1e9b.tar.gz
openshift-cecc1f83edf078842e7ca104f9dc495bf65b1e9b.tar.bz2
openshift-cecc1f83edf078842e7ca104f9dc495bf65b1e9b.tar.xz
openshift-cecc1f83edf078842e7ca104f9dc495bf65b1e9b.zip
Merge pull request #3430 from jcantrill/bz_1417261_quote_secret
bug 1417261. Quote name and secrets in logging templates
Diffstat (limited to 'roles/openshift_logging')
-rw-r--r--roles/openshift_logging/templates/secret.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_logging/templates/secret.j2 b/roles/openshift_logging/templates/secret.j2
index d73bae9c4..eba4197da 100644
--- a/roles/openshift_logging/templates/secret.j2
+++ b/roles/openshift_logging/templates/secret.j2
@@ -1,9 +1,9 @@
apiVersion: v1
kind: Secret
metadata:
- name: {{secret_name}}
+ name: "{{secret_name}}"
type: Opaque
data:
{% for s in secrets %}
- {{s.key}}: {{s.value | b64encode}}
+ "{{s.key}}" : "{{s.value | b64encode}}"
{% endfor %}