diff --git a/build_system/charts/open-appsec-k8s-nginx-ingress/templates/controller-statefulset.yaml b/build_system/charts/open-appsec-k8s-nginx-ingress/templates/controller-statefulset.yaml index af082a3..a8ccf93 100644 --- a/build_system/charts/open-appsec-k8s-nginx-ingress/templates/controller-statefulset.yaml +++ b/build_system/charts/open-appsec-k8s-nginx-ingress/templates/controller-statefulset.yaml @@ -109,7 +109,10 @@ spec: value: {{ .Values.appsec.storage.name }}-svc - name: LEARNING_HOST value: {{ .Values.appsec.learning.name }}-svc - {{- end }} + {{- else }} + - name: K8S_PLAYGROUND_ENVIRONMENT + value: {{ .Values.appsec.playground }} + {{- end -}} resources: {{ toYaml .Values.resources | nindent 12 }} volumeMounts: