From b74a204cda55f447455115f7193e661be95e22bf Mon Sep 17 00:00:00 2001 From: Brooke Storm Date: Fri, 30 Jul 2021 16:35:33 -0700 Subject: [PATCH 1/2] helm chart: allow persistentVolumeClaim in psp or pod never launches Simple fix, but if you have podsecuritypolicy in your cluster, this chart doesn't work without this change. --- .../templates/podsecuritypolicy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/nfs-subdir-external-provisioner/templates/podsecuritypolicy.yaml b/charts/nfs-subdir-external-provisioner/templates/podsecuritypolicy.yaml index 540492bf..5e3274a6 100644 --- a/charts/nfs-subdir-external-provisioner/templates/podsecuritypolicy.yaml +++ b/charts/nfs-subdir-external-provisioner/templates/podsecuritypolicy.yaml @@ -13,6 +13,7 @@ spec: volumes: - 'secret' - 'nfs' + - 'persistentVolumeClaim' hostNetwork: false hostIPC: false hostPID: false From 1271831fbddbf06b5bbf39922a059f21472ce184 Mon Sep 17 00:00:00 2001 From: Brooke Storm Date: Sat, 31 Jul 2021 20:42:33 -0700 Subject: [PATCH 2/2] bump chart version --- charts/nfs-subdir-external-provisioner/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/nfs-subdir-external-provisioner/Chart.yaml b/charts/nfs-subdir-external-provisioner/Chart.yaml index fff25592..99c3d079 100644 --- a/charts/nfs-subdir-external-provisioner/Chart.yaml +++ b/charts/nfs-subdir-external-provisioner/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 4.0.2 description: nfs-subdir-external-provisioner is an automatic provisioner that used your *already configured* NFS server, automatically creating Persistent Volumes. name: nfs-subdir-external-provisioner home: https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner -version: 4.0.12 +version: 4.0.13 kubeVersion: ">=1.9.0-0" sources: - https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner