Skip to content

Commit

Permalink
fix: modify Deployment to run pod as non root user
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszbarwicki committed Jun 12, 2024
1 parent aed8250 commit 1f578d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/app-dashboard/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "app-dashboard.serviceAccountName" . }}
securityContext:
runAsUser: 1000
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down

0 comments on commit 1f578d8

Please sign in to comment.