Skip to content

Commit

Permalink
fix: Check: CKV_K8S_22: "Use read-only filesystem for containers wher…
Browse files Browse the repository at this point in the history
…e possible"
  • Loading branch information
regel committed Jan 4, 2023
1 parent 4e329b6 commit 107d761
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/cardano/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A Cardano Helm chart for Kubernetes

type: application

version: 0.4.0
version: 0.4.1

appVersion: 1.35.4

Expand Down
1 change: 1 addition & 0 deletions charts/cardano/templates/producer-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ spec:
securityContext:
runAsNonRoot: false
runAsUser: 0
readOnlyRootFilesystem: true
image: "{{- .Values.busybox.repository -}}:{{- .Values.busybox.tag -}}"
imagePullPolicy: {{ .Values.busybox.pullPolicy }}
command: ["sh", "-c"]
Expand Down

0 comments on commit 107d761

Please sign in to comment.