From 3af692b8dea7c59d627b616169e7377f64a46485 Mon Sep 17 00:00:00 2001 From: James hong Date: Wed, 18 Dec 2024 15:21:24 +1000 Subject: [PATCH] role binding ref name reference change. 1. change roleRef.name to use variable --- charts/kubechecks/templates/rolebinding.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kubechecks/templates/rolebinding.yaml b/charts/kubechecks/templates/rolebinding.yaml index 0fb655c2..ca4e7bf1 100644 --- a/charts/kubechecks/templates/rolebinding.yaml +++ b/charts/kubechecks/templates/rolebinding.yaml @@ -5,7 +5,7 @@ metadata: namespace: {{ .Values.argocd.namespace }} roleRef: kind: Role - name: kubechecks + name: {{ include "kubechecks.fullname" . }} apiGroup: rbac.authorization.k8s.io subjects: - kind: ServiceAccount