summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorJeff Cantrill <jcantril@redhat.com>2017-02-20 15:01:38 -0500
committerJeff Cantrill <jcantril@redhat.com>2017-02-20 15:06:19 -0500
commitdee01dd82e4acc74512b4b40fb56aa5ea024921f (patch)
tree559ce0acba7585fd3a8d61ee51223ece3e31f0ba /roles
parentc0e7beaddd461f64fcbbd9395dc4ed8a1e7dbb04 (diff)
downloadopenshift-dee01dd82e4acc74512b4b40fb56aa5ea024921f.tar.gz
openshift-dee01dd82e4acc74512b4b40fb56aa5ea024921f.tar.bz2
openshift-dee01dd82e4acc74512b4b40fb56aa5ea024921f.tar.xz
openshift-dee01dd82e4acc74512b4b40fb56aa5ea024921f.zip
bug 1417261. Quote name and secrets in logging templates
Diffstat (limited to 'roles')
-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 %}