mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
helm: add a default for RPSS_ENABLED
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
be08b618b9
commit
21b5842813
11 changed files with 30 additions and 30 deletions
|
|
@ -31,7 +31,7 @@ spec:
|
|||
runAsUser: 33
|
||||
runAsGroup: 33
|
||||
runAsNonRoot: true
|
||||
{{- if eq .Values.RPSS_ENABLED "yes" }}
|
||||
{{- if eq .Values.RPSS_ENABLED "yes" | default "no" }}
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
{{- end }}
|
||||
|
|
@ -64,7 +64,7 @@ spec:
|
|||
# The items below only work in container context
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
{{- if eq .Values.RPSS_ENABLED "yes" }}
|
||||
{{- if eq .Values.RPSS_ENABLED "yes" | default "no" }}
|
||||
drop: ["ALL"]
|
||||
{{- else }}
|
||||
drop: ["NET_RAW"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue