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