@@ -4,8 +4,8 @@ metadata:
44 labels :
55 app.kubeshark.co/app : front
66 {{- include "kubeshark.labels" . | nindent 4 }}
7- annotations :
87 {{- if .Values.tap.annotations }}
8+ annotations :
99 {{- toYaml .Values.tap.annotations | nindent 4 }}
1010 {{- end }}
1111 name : {{ include "kubeshark.name" . }}-front
8080 value : ' {{ .Values.aiAssistantEnabled | ternary "true" "false" }}'
8181 - name : REACT_APP_SUPPORT_CHAT_ENABLED
8282 value : ' {{ and .Values.supportChatEnabled .Values.internetConnectivity | ternary "true" "false" }}'
83+ - name : REACT_APP_BETA_ENABLED
84+ value : ' {{ default false .Values.betaEnabled | ternary "true" "false" }}'
8385 - name : REACT_APP_DISSECTORS_UPDATING_ENABLED
8486 value : ' {{ .Values.tap.liveConfigMapChangesDisabled | ternary "false" "true" }}'
8587 - name : REACT_APP_SENTRY_ENABLED
@@ -122,12 +124,6 @@ spec:
122124 mountPath : /etc/nginx/conf.d/default.conf
123125 subPath : default.conf
124126 readOnly : true
125- {{- if .Values.tap.docker.imagePullSecrets }}
126- imagePullSecrets :
127- {{- range .Values.tap.docker.imagePullSecrets }}
128- - name : {{ . }}
129- {{- end }}
130- {{- end }}
131127{{- if gt (len .Values.tap.nodeSelectorTerms.front) 0}}
132128 affinity :
133129 nodeAffinity :
@@ -181,3 +177,6 @@ spec:
181177 name : kubeshark-nginx-config-map
182178 dnsPolicy : ClusterFirstWithHostNet
183179 serviceAccountName : {{ include "kubeshark.serviceAccountName" . }}
180+ {{- if .Values.tap.priorityClass }}
181+ priorityClassName : {{ .Values.tap.priorityClass | quote }}
182+ {{- end }}
0 commit comments