mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
11 lines
343 B
YAML
Executable file
11 lines
343 B
YAML
Executable file
{{- if and (ne .Values.NAMESPACE "default") (ne .Values.NAMESPACE_DISABLED "yes") }}
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: "{{ .Values.NAMESPACE }}"
|
|
namespace: "{{ .Values.NAMESPACE }}"
|
|
{{- if eq (.Values.RPSS_ENABLED | default "no") "yes" }}
|
|
labels:
|
|
pod-security.kubernetes.io/enforce: restricted
|
|
{{- end }}
|
|
{{- end }}
|