mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-09-04 02:15:43 +00:00
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:
co-authored by
ashutoshbhardwaj007
parent
9f034da1d2
commit
25122a48ba
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user