mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/kube-ops-view] Support affinity (#9789)
* [stable/kube-ops-view] Support affinity Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com> * bump version Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
3763061a79
commit
2d348afcdc
@@ -1,5 +1,5 @@
|
||||
name: kube-ops-view
|
||||
version: 0.6.0
|
||||
version: 0.7.0
|
||||
appVersion: 0.9
|
||||
description: Kubernetes Operational View - read-only system dashboard for multiple
|
||||
K8s clusters
|
||||
|
||||
@@ -10,15 +10,18 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ template "kube-ops-view.fullname" . }}
|
||||
{{- if .Values.podLabels }}
|
||||
{{- if .Values.podLabels }}
|
||||
{{ toYaml .Values.podLabels | indent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml .Values.affinity | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.securityContext }}
|
||||
securityContext:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
|
||||
serviceAccountName: {{ if .Values.rbac.create }}{{ template "kube-ops-view.fullname" . }}{{ else }}"{{ .Values.rbac.serviceAccountName }}"{{ end }}
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
|
||||
@@ -38,6 +38,7 @@ rbac:
|
||||
## Additional pod labels
|
||||
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
||||
podLabels: {}
|
||||
affinity: {}
|
||||
|
||||
# Add securityContext
|
||||
securityContext: {}
|
||||
|
||||
Reference in New Issue
Block a user