Skip to content

Commit

Permalink
Merge pull request #35 from avo-sepp/main
Browse files Browse the repository at this point in the history
feat: Add support for Pod Security Context
  • Loading branch information
macb authored Sep 25, 2024
2 parents f343241 + e41705a commit 0925f5f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/vantage-kubernetes-agent/templates/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ spec:
mountPath: {{ .mountPath }}
{{- end }}
{{- end }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 6 }}
{{- if not .Values.agent.useDeployment }}
{{- with .Values.persist }}
volumeClaimTemplates:
Expand Down
3 changes: 3 additions & 0 deletions charts/vantage-kubernetes-agent/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@
"securityContext": {
"type": "object"
},
"podSecurityContext": {
"type": "object"
},
"service": {
"type": "object",
"properties": {
Expand Down
1 change: 1 addition & 0 deletions charts/vantage-kubernetes-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ appLabels: {}
podLabels: {}
podAnnotations: {}
securityContext: {}
podSecurityContext: {}
nodeSelector: {}
tolerations: []
affinity: {}

0 comments on commit 0925f5f

Please sign in to comment.