Skip to content

Commit

Permalink
role and rolebinding change.
Browse files Browse the repository at this point in the history
1. change to use kubechecks.fullname for the role name and role binding name.
  • Loading branch information
Greyeye committed Dec 18, 2024
1 parent a404abb commit 65e5ce9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/kubechecks/templates/role.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: kubechecks
name: {{ include "kubechecks.fullname" . }}
namespace: {{ .Values.argocd.namespace }}
rules:
- apiGroups:
Expand Down
2 changes: 1 addition & 1 deletion charts/kubechecks/templates/rolebinding.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: kubechecks
name: {{ include "kubechecks.fullname" . }}
namespace: {{ .Values.argocd.namespace }}
roleRef:
kind: Role
Expand Down

0 comments on commit 65e5ce9

Please sign in to comment.