Skip to content

Commit

Permalink
Merge pull request #262 from mvisonneau/helm_nats_box_security_context
Browse files Browse the repository at this point in the history
helm/nats: also leverage the securityContext values for nats-box deployment
  • Loading branch information
wallyqs authored Jul 1, 2021
2 parents bb83479 + 86d2ca6 commit 7b53569
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/charts/nats/templates/nats-box.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 7b53569

Please sign in to comment.