Skip to content

Commit

Permalink
feat: add kraan securitycontext
Browse files Browse the repository at this point in the history
  • Loading branch information
michael12312 committed Sep 7, 2023
1 parent c5ed28c commit 4504a52
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chart/templates/kraan/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ spec:
allowPrivilegeEscalation: false
runAsNonRoot: {{ .Values.kraan.kraanController.runAsNonRoot }}
readOnlyRootFilesystem: {{ .Values.kraan.kraanController.readOnly }}
capabilities:
drop: [ "ALL" ]
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /controller/data
name: data
Expand Down

0 comments on commit 4504a52

Please sign in to comment.