Skip to content

Commit

Permalink
Merge pull request #130 from aiyengar2/fix_security_context
Browse files Browse the repository at this point in the history
Ensure that securityContext can be set in Helm chart
  • Loading branch information
k8s-ci-robot authored Oct 2, 2023
2 parents 2804879 + 23da03f commit 7fb3451
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/gmsa/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ spec:
value: /tls/crt
- name: HTTPS_PORT
value: "{{ .Values.containerPort }}"
{{- if .Values.securityContext }}
securityContext: {{ toYaml .Values.securityContext | nindent 12 }}
{{- end }}
{{- if .Values.securityContext }}
securityContext: {{ toYaml .Values.securityContext | nindent 12 }}
{{- end }}
volumes:
- name: tls
secret:
Expand Down

0 comments on commit 7fb3451

Please sign in to comment.