Skip to content

Commit

Permalink
fix: runAsNonRoot
Browse files Browse the repository at this point in the history
Signed-off-by: xu.zhu <xu.zhu.work@outlook.com>
  • Loading branch information
xuzhu-591 committed Apr 12, 2023
1 parent aa44e17 commit 8dba228
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ spec:
{{- with .Values.containerExtra }}
{{- toYaml . | nindent 8 }}
{{- end }}
securityContext:
runAsNonRoot: true
####### end containerExtra #######
env:
- name: POD_NAMESPACE
Expand Down

0 comments on commit 8dba228

Please sign in to comment.