summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Miller <jmiller@mirantis.com>2019-03-11 18:04:31 -0400
committerDrew Walters <drewwalters96@gmail.com>2019-03-12 19:45:00 +0000
commit8f5393347855404da87ed564c1d4e6aad9b1cda1 (patch)
treed86e587d3165bca2626ee999d3f220c0ffa11c73
parentc3d4a464cb957545f04947be7e82b6771772760d (diff)
Do not quote tls arg values
If we enable these tls settings, then having quotes around the values will prevent apiserver from starting. Change-Id: I39d1e5861262074ef0c50f22d0fae47d822f8319
Notes
Notes (review): Code-Review+2: Matt McEuen <matt.mceuen@att.com> Code-Review+1: Dan Crank <dan.no@att.com> Code-Review+1: Vladyslav Drok <vdrok@mirantis.com> Code-Review+1: PRATEEK REDDY DODDA <pd2839@att.com> Code-Review+1: Nishant Kumar <nishant.e.kumar@ericsson.com> Code-Review+2: Drew Walters <drewwalters96@gmail.com> Code-Review+1: Michael Beaver <michaelbeaver64@gmail.com> Workflow+1: Drew Walters <drewwalters96@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 12 Mar 2019 20:07:51 +0000 Reviewed-on: https://review.openstack.org/642586 Project: openstack/airship-promenade Branch: refs/heads/master
-rw-r--r--charts/apiserver/templates/etc/_kubernetes-apiserver.yaml.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/charts/apiserver/templates/etc/_kubernetes-apiserver.yaml.tpl b/charts/apiserver/templates/etc/_kubernetes-apiserver.yaml.tpl
index 9dc844f..ee99398 100644
--- a/charts/apiserver/templates/etc/_kubernetes-apiserver.yaml.tpl
+++ b/charts/apiserver/templates/etc/_kubernetes-apiserver.yaml.tpl
@@ -64,7 +64,7 @@ spec:
64 {{- $acceptable_keys := list "tls-min-version" "tls-cipher-suites" }} 64 {{- $acceptable_keys := list "tls-min-version" "tls-cipher-suites" }}
65 {{- range $key, $val := .Values.apiserver.tls }} 65 {{- range $key, $val := .Values.apiserver.tls }}
66 {{- if has $key $acceptable_keys }} 66 {{- if has $key $acceptable_keys }}
67 - --{{ $key }}={{ $val | quote }} 67 - --{{ $key }}={{ $val }}
68 {{- end }} 68 {{- end }}
69 {{- end }} 69 {{- end }}
70 ports: 70 ports: