🔨 Add REACT_APP_AUTH_ENABLED environment variable to kubeshark-front

This commit is contained in:
M. Mert Yildiran 2023-10-28 00:15:00 +03:00
parent 9c291bbf47
commit d295cecfc2
No known key found for this signature in database
GPG Key ID: DA5D6DCBB758A461
2 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,8 @@ spec:
value: ' '
- name: REACT_APP_HUB_PORT
value: '{{ .Values.tap.ingress.enabled | ternary "/api" (print ":" .Values.tap.proxy.front.port "/api") }}'
- name: REACT_APP_AUTH_ENABLED
value: '{{ .Values.tap.auth.enabled }}'
image: '{{ .Values.tap.docker.registry }}/front:{{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag (printf "v%s" .Chart.Version) }}'
imagePullPolicy: {{ .Values.tap.docker.imagePullPolicy }}
name: kubeshark-front

View File

@ -525,6 +525,8 @@ spec:
value: ' '
- name: REACT_APP_HUB_PORT
value: ':8899/api'
- name: REACT_APP_AUTH_ENABLED
value: 'false'
image: 'docker.io/kubeshark/front:v51.0.14'
imagePullPolicy: Always
name: kubeshark-front