(chore) also use s6 readonlyroot mitigation when running asNonRoot
This commit is contained in:
parent
4076def32a
commit
842cf0a65f
|
@ -15,4 +15,4 @@ maintainers:
|
|||
name: common
|
||||
sources: null
|
||||
type: library
|
||||
version: 8.0.4
|
||||
version: 8.0.5
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
{{- end }}
|
||||
|
||||
env:
|
||||
{{- if .Values.securityContext.readOnlyRootFilesystem }}
|
||||
{{- if or ( .Values.securityContext.readOnlyRootFilesystem ) ( .Values.securityContext.runAsNonRoot ) }}
|
||||
- name: S6_READ_ONLY_ROOT
|
||||
value: "1"
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in New Issue