From 8409674a3e21127e5f79563786b3e39327f19c58 Mon Sep 17 00:00:00 2001 From: kfox1111 Date: Thu, 22 Jun 2023 09:57:07 -0700 Subject: [PATCH] Fix the init container flags of the statefulset (#366) --- charts/spire/charts/spire-server/templates/statefulset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/spire/charts/spire-server/templates/statefulset.yaml b/charts/spire/charts/spire-server/templates/statefulset.yaml index ad6a843..842b927 100644 --- a/charts/spire/charts/spire-server/templates/statefulset.yaml +++ b/charts/spire/charts/spire-server/templates/statefulset.yaml @@ -43,7 +43,7 @@ spec: securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} initContainers: - {{- if and .Values.upstreamAuthority.certManager.enabled .Values.upstreamAuthority.certManager.createCA }} + {{- if and .Values.upstreamAuthority.certManager.enabled .Values.upstreamAuthority.certManager.ca.create }} - name: wait securityContext: {{- toYaml .Values.securityContext | nindent 12 }}