From 186787717db17221792689f618ce012cd39ce4ef Mon Sep 17 00:00:00 2001 From: James Hong Date: Wed, 18 Dec 2024 15:40:02 +1000 Subject: [PATCH] role binding ref name reference change. (#335) 1. change roleRef.name to use variable --- charts/kubechecks/Chart.yaml | 2 +- charts/kubechecks/templates/rolebinding.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/kubechecks/Chart.yaml b/charts/kubechecks/Chart.yaml index 85e6a0ad..47c302ec 100644 --- a/charts/kubechecks/Chart.yaml +++ b/charts/kubechecks/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: kubechecks description: A Helm chart for kubechecks -version: 0.5.1 +version: 0.5.2 type: application maintainers: - name: zapier 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