env variable to identify playground environments

This commit is contained in:
roybarda 2022-11-10 19:12:59 +02:00 committed by GitHub
parent 8b01396eca
commit 6361a1d63b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,10 @@ spec:
value: {{ .Values.appsec.storage.name }}-svc value: {{ .Values.appsec.storage.name }}-svc
- name: LEARNING_HOST - name: LEARNING_HOST
value: {{ .Values.appsec.learning.name }}-svc value: {{ .Values.appsec.learning.name }}-svc
{{- end }} {{- else }}
- name: K8S_PLAYGROUND_ENVIRONMENT
value: {{ .Values.appsec.playground }}
{{- end -}}
resources: resources:
{{ toYaml .Values.resources | nindent 12 }} {{ toYaml .Values.resources | nindent 12 }}
volumeMounts: volumeMounts: