mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-22 22:39:40 +00:00
fix the env variable / helm issue (#1486)
* fix the env variable / helm issue Empty environment variables can not be read by front. * change env variable to avoid an empty string
This commit is contained in:
parent
f9e0c36d5f
commit
f6d7510a14
@ -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) }}'
|
||||
|
Loading…
Reference in New Issue
Block a user