From dee01dd82e4acc74512b4b40fb56aa5ea024921f Mon Sep 17 00:00:00 2001 From: Jeff Cantrill Date: Mon, 20 Feb 2017 15:01:38 -0500 Subject: bug 1417261. Quote name and secrets in logging templates --- roles/openshift_logging/templates/secret.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles') 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 %} -- cgit v1.2.3