[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:
obeyler
2018-12-07 16:02:24 -08:00
committed by Kubernetes Prow Robot
parent 490a7d1bf9
commit 52a27c3c6f
3 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -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 }}
+3
View File
@@ -38,3 +38,6 @@ rbac:
## Additional pod labels
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podLabels: {}
# Add securityContext
securityContext: {}