mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/Kube-ops-view] Add securityContext (#9811)
* Add securityContext Signed-off-by: olivier beyler <olivier.beyler@orange.com> * Add end line Signed-off-by: olivier beyler <olivier.beyler@orange.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
490a7d1bf9
commit
52a27c3c6f
@@ -1,5 +1,5 @@
|
||||
name: kube-ops-view
|
||||
version: 0.4.3
|
||||
version: 0.4.4
|
||||
appVersion: 0.8.1
|
||||
description: Kubernetes Operational View - read-only system dashboard for multiple
|
||||
K8s clusters
|
||||
|
||||
@@ -14,6 +14,11 @@ spec:
|
||||
{{ toYaml .Values.podLabels | indent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- 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,3 +38,6 @@ rbac:
|
||||
## Additional pod labels
|
||||
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
||||
podLabels: {}
|
||||
|
||||
# Add securityContext
|
||||
securityContext: {}
|
||||
|
||||
Reference in New Issue
Block a user