diff --git a/charts/cryostat/templates/cryostat_deployment.yaml b/charts/cryostat/templates/cryostat_deployment.yaml index a4549bb..0ae4e81 100644 --- a/charts/cryostat/templates/cryostat_deployment.yaml +++ b/charts/cryostat/templates/cryostat_deployment.yaml @@ -204,8 +204,7 @@ spec: - name: {{ .Release.Name }}-proxy-tls secret: secretName: {{ .Release.Name }}-proxy-tls - {{- end }} - {{- if (and (not (.Values.authentication.openshift).enabled) (.Values.oauth2Proxy.service.tls.enableSelfSigned)) }} + {{- else if .Values.oauth2Proxy.service.tls.enableSelfSigned }} - name: {{ .Release.Name }}-oauth2proxy-tls secret: secretName: {{ .Release.Name }}-oauth2proxy-tls