feat(chart): apply commonLabels to all rendered resources (#739)

Applies commonLabels to every rendered resource, wires up the likewise-unused dashboard.persistence.labels, and adds the missing README rows.

Closes #730

Co-authored-by: ashutoshbhardwaj007 <ashutosh.bhardwaj@poppulo.com>
This commit is contained in:
Andrey Pokhilko
2026-08-10 14:17:16 +01:00
committed by GitHub
co-authored by ashutoshbhardwaj007
parent 9f034da1d2
commit 25122a48ba
6 changed files with 20 additions and 0 deletions
@@ -14,6 +14,8 @@ kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ include "helm-dashboard.serviceAccountName" . }}
labels:
{{- include "helm-dashboard.labels" . | nindent 4 }}
rules:
- apiGroups: ["*"]
resources: ["*"]
@@ -28,6 +30,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ include "helm-dashboard.serviceAccountName" . }}
labels:
{{- include "helm-dashboard.labels" . | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole