From e6bf57743ca49d7d85f49358adb34bb46b6128bb Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Fri, 25 Oct 2024 20:05:35 +0200 Subject: [PATCH] add nfs-provisioner namespace --- .../base/nfs-provisioner-namespace.yaml | 6 ++++++ nfs-subdir-external-provisioner/kustomization.yaml | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 nfs-subdir-external-provisioner/base/nfs-provisioner-namespace.yaml diff --git a/nfs-subdir-external-provisioner/base/nfs-provisioner-namespace.yaml b/nfs-subdir-external-provisioner/base/nfs-provisioner-namespace.yaml new file mode 100644 index 0000000..e03edbf --- /dev/null +++ b/nfs-subdir-external-provisioner/base/nfs-provisioner-namespace.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: nfs-provisioner + labels: + pod-security.kubernetes.io/enforce: privileged diff --git a/nfs-subdir-external-provisioner/kustomization.yaml b/nfs-subdir-external-provisioner/kustomization.yaml index 64671ec..59c9dce 100644 --- a/nfs-subdir-external-provisioner/kustomization.yaml +++ b/nfs-subdir-external-provisioner/kustomization.yaml @@ -2,5 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: nfs-provisioner + resources: -- github.com/kubernetes-sigs/nfs-subdir-external-provisioner//deploy?ref=nfs-subdir-external-provisioner-4.0.17 + - ./base/nfs-provisioner-namespace.yaml + - github.com/kubernetes-sigs/nfs-subdir-external-provisioner//deploy?ref=nfs-subdir-external-provisioner-4.0.17