(chore) also use s6 readonlyroot mitigation when running asNonRoot

This commit is contained in:
kjeld Schouten-Lebbing 2021-09-26 11:20:08 +02:00
parent 4076def32a
commit 842cf0a65f
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
2 changed files with 2 additions and 2 deletions

View File

@ -15,4 +15,4 @@ maintainers:
name: common
sources: null
type: library
version: 8.0.4
version: 8.0.5

View File

@ -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 }}