diff --git a/helm/charts/nats/templates/nats-box.yaml b/helm/charts/nats/templates/nats-box.yaml index 79deeec5..045a4220 100644 --- a/helm/charts/nats/templates/nats-box.yaml +++ b/helm/charts/nats/templates/nats-box.yaml @@ -87,4 +87,8 @@ spec: - name: {{ $secretName }}-clients-volume mountPath: /etc/nats-certs/clients/{{ $secretName }} {{- end }} +{{- with .Values.securityContext }} + securityContext: +{{ toYaml . | indent 8 }} +{{- end }} {{- end }}