Skip to content

Commit 3a66d16

Browse files
authored
Merge pull request #8 from GitGuardian/fix/ca-injection-on-client-side
fix(helm): fix ca injection when tls.verifyCert is enabled
2 parents 536d02e + f715252 commit 3a66d16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helm/ggbridge/templates/client/deployment.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ spec:
5151
securityContext:
5252
{{- toYaml (omit $.Values.podSecurityContext "enabled") | nindent 8 }}
5353
{{- end }}
54-
{{- if or (or $.Values.caBundle.certs $.Values.caBundle.existingSecret) (and $.Values.tls.enabled $.Values.client.tlsVerifyCert) }}
54+
{{- if or (or $.Values.caBundle.certs $.Values.caBundle.existingSecret) (and $.Values.tls.enabled $.Values.tls.verifyCert) }}
5555
initContainers:
5656
- name: ca
5757
{{- if $.Values.containerSecurityContext.enabled }}
@@ -151,7 +151,7 @@ spec:
151151
value: {{ $.Values.proxy.service.ports.web.internalPort | quote }}
152152
- name: TUNNEL_WEB_REMOTE_PORT
153153
value: {{ $.Values.proxy.service.ports.web.remoteContainerPort | quote }}
154-
{{- if or (or $.Values.caBundle.certs $.Values.caBundle.existingSecret) (and $.Values.tls.enabled $.Values.client.tlsVerifyCert) }}
154+
{{- if or (or $.Values.caBundle.certs $.Values.caBundle.existingSecret) (and $.Values.tls.enabled $.Values.tls.verifyCert) }}
155155
- name: SSL_CERT_FILE
156156
value: /certs/ca-bundle.crt
157157
{{- end }}

0 commit comments

Comments
 (0)