From f70cfe3c0601534eae429fb6793919873cf7586a Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Mon, 7 Dec 2020 11:01:38 -0300 Subject: [PATCH] Fix permission error in cluster scope --- .../v0.1.0/templates/cluster-role-binding.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/aws-efs-csi-pv-provisioner/v0.1.0/templates/cluster-role-binding.yaml b/charts/aws-efs-csi-pv-provisioner/v0.1.0/templates/cluster-role-binding.yaml index 2be0cb5..ed15928 100644 --- a/charts/aws-efs-csi-pv-provisioner/v0.1.0/templates/cluster-role-binding.yaml +++ b/charts/aws-efs-csi-pv-provisioner/v0.1.0/templates/cluster-role-binding.yaml @@ -5,7 +5,7 @@ metadata: subjects: - kind: ServiceAccount name: {{ include "aws-efs-csi-pv-provisioner.serviceAccountName" . }} - namespace: kube-system + namespace: {{ .Release.Namespace }} roleRef: kind: ClusterRole name: {{ include "aws-efs-csi-pv-provisioner.serviceAccountName" . }}