Skip to content

Commit

Permalink
chore(charts):[#1222] TRG 4.07 Read-only filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-jhartmann committed Jul 23, 2024
1 parent 5a98ba0 commit 0ebcbe3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ spec:
- name: http-trusted
containerPort: 8181
protocol: TCP
volumeMounts:
- name: tmp
mountPath: /tmp
# @url: https://cloud.google.com/blog/products/containers-kubernetes/kubernetes-best-practices-setting-up-health-checks-with-readiness-and-liveness-probes
{{- if .Values.healthCheck.enabled }}
livenessProbe:
Expand All @@ -190,6 +193,9 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumes:
- name: tmp
emptyDir: {}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/traceability-foss/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ backend:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: false
readOnlyRootFilesystem: true

service:
type: ClusterIP
Expand Down

0 comments on commit 0ebcbe3

Please sign in to comment.