diff --git a/helm-chart/templates/06-front-deployment.yaml b/helm-chart/templates/06-front-deployment.yaml index b2c109373..721a09afc 100644 --- a/helm-chart/templates/06-front-deployment.yaml +++ b/helm-chart/templates/06-front-deployment.yaml @@ -29,9 +29,9 @@ spec: - name: REACT_APP_AUTH_ENABLED value: '{{ .Values.tap.auth.enabled }}' - name: REACT_APP_AUTH_TYPE - value: '{{ .Values.tap.auth.type }}' + value: '{{ not (eq .Values.tap.auth.type "") | ternary .Values.tap.auth.type " " }}' - name: REACT_APP_AUTH_SAML_IDP_METADATA_URL - value: '{{ .Values.tap.auth.saml.idpMetadataUrl }}' + value: '{{ not (eq .Values.tap.auth.saml.idpMetadataUrl "") | ternary .Values.tap.auth.saml.idpMetadataUrl " " }}' - name: REACT_APP_REPLAY_DISABLED value: '{{ .Values.tap.replayDisabled }}' image: '{{ .Values.tap.docker.registry }}/front:{{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag (printf "v%s" .Chart.Version) }}'