From f1d32d722368f1e8321c610a32bf7a49087cfdb6 Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Thu, 6 Apr 2023 14:26:34 +0530 Subject: [PATCH] Update HELM chart templates Signed-off-by: Humble Chirammal --- charts/nfs-subdir-external-provisioner/Chart.yaml | 2 +- charts/nfs-subdir-external-provisioner/templates/role.yaml | 3 +++ charts/nfs-subdir-external-provisioner/values.yaml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/charts/nfs-subdir-external-provisioner/Chart.yaml b/charts/nfs-subdir-external-provisioner/Chart.yaml index 2c26611c..1f143b66 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.18 +version: 4.0.19 kubeVersion: ">=1.9.0-0" sources: - https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner diff --git a/charts/nfs-subdir-external-provisioner/templates/role.yaml b/charts/nfs-subdir-external-provisioner/templates/role.yaml index 9d175812..8256d679 100644 --- a/charts/nfs-subdir-external-provisioner/templates/role.yaml +++ b/charts/nfs-subdir-external-provisioner/templates/role.yaml @@ -9,6 +9,9 @@ rules: - apiGroups: [""] resources: ["endpoints"] verbs: ["get", "list", "watch", "create", "update", "patch"] + - apiGroups: ["coordination.k8s.io"] + resources: ["leases"] + verbs: ["get", "create", "update"] {{- if .Values.podSecurityPolicy.enabled }} - apiGroups: ['extensions'] resources: ['podsecuritypolicies'] diff --git a/charts/nfs-subdir-external-provisioner/values.yaml b/charts/nfs-subdir-external-provisioner/values.yaml index b7d11878..6b13c7f3 100644 --- a/charts/nfs-subdir-external-provisioner/values.yaml +++ b/charts/nfs-subdir-external-provisioner/values.yaml @@ -2,7 +2,7 @@ replicaCount: 1 strategyType: Recreate image: - repository: registry.k8s.io/sig-storage/nfs-subdir-external-provisioner + repository: k8s.gcr.io/sig-storage/nfs-subdir-external-provisioner tag: v4.0.2 pullPolicy: IfNotPresent imagePullSecrets: []