mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Configurable podLabels (#2568)
This commit is contained in:
committed by
Matt Farina
parent
1cc9ac8a1a
commit
6130c648b4
@@ -1,5 +1,5 @@
|
||||
name: kube-ops-view
|
||||
version: 0.4.0
|
||||
version: 0.4.1
|
||||
description: Kubernetes Operational View - read-only system dashboard for multiple
|
||||
K8s clusters
|
||||
keywords:
|
||||
|
||||
@@ -10,6 +10,9 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ template "kube-ops-view.fullname" . }}
|
||||
{{- if .Values.podLabels }}
|
||||
{{ toYaml .Values.podLabels | indent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
serviceAccountName: {{ if .Values.rbac.create }}{{ template "kube-ops-view.fullname" . }}{{ else }}"{{ .Values.rbac.serviceAccountName }}"{{ end }}
|
||||
containers:
|
||||
|
||||
@@ -34,3 +34,7 @@ rbac:
|
||||
create: false
|
||||
# Ignored if rbac.create is true
|
||||
serviceAccountName: default
|
||||
|
||||
## Additional pod labels
|
||||
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
||||
podLabels: {}
|
||||
|
||||
Reference in New Issue
Block a user