Skip to content

Commit

Permalink
fix: set container to run as root for now
Browse files Browse the repository at this point in the history
  • Loading branch information
paolofacchinetti committed Oct 29, 2024
1 parent 888e088 commit 7696ccb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/erpc/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec:
{{- toYaml .Values.containerSecurityContext | nindent 12 }}
volumeMounts:
- name: config
mountPath: /root/erpc.yaml"
mountPath: /root/erpc.yaml
subPath: erpc.yaml
readOnly: true
{{- if .Values.extraVolumeMounts }}
Expand Down
10 changes: 5 additions & 5 deletions charts/erpc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ resources: {}

# -- The security context for pods
# @default -- See `values.yaml`
securityContext:
fsGroup: 10001
runAsGroup: 10001
runAsNonRoot: true
runAsUser: 10001
securityContext: {}
# fsGroup: 10001
# runAsGroup: 10001
# runAsNonRoot: true
# runAsUser: 10001

# -- The security context for containers
# @default -- See `values.yaml`
Expand Down

0 comments on commit 7696ccb

Please sign in to comment.