Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add spec.template.spec.securityContext #1109

Merged
merged 7 commits into from
Jun 14, 2024
3 changes: 3 additions & 0 deletions charts/k8sgpt/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ spec:
app.kubernetes.io/name: {{ include "k8sgpt.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
spec:
securityContext:
AlexsJones marked this conversation as resolved.
Show resolved Hide resolved
runAsUser: 65532
runAsGroup: 65532
serviceAccountName: {{ template "k8sgpt.fullname" . }}
containers:
- name: k8sgpt-container
Expand Down
Loading