Merge pull request #1717 from sameersbn/po-alertmanager-fixes

[bitnami/prometheus-operator] fix indentation of alertmanager `securityContext`
This commit is contained in:
Sameer Naik
2019-12-10 10:18:15 +05:30
committed by GitHub
2 changed files with 6 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 0.34.0
description: The Prometheus Operator for Kubernetes provides easy monitoring definitions for Kubernetes services and deployment and management of Prometheus instances.
name: prometheus-operator
version: 0.7.2
version: 0.7.3
keywords:
- prometheus
- alertmanager

View File

@@ -29,11 +29,11 @@ spec:
{{- end }}
resources: {{- toYaml .Values.alertmanager.resources | nindent 4 }}
routePrefix: "/"
{{- if .Values.alertmanager.securityContext.enabled }}
securityContext:
runAsUser: {{ .Values.alertmanager.securityContext.runAsUser }}
fsGroup: {{ .Values.alertmanager.securityContext.fsGroup }}
{{- end }}
{{- if .Values.alertmanager.securityContext.enabled }}
securityContext:
runAsUser: {{ .Values.alertmanager.securityContext.runAsUser }}
fsGroup: {{ .Values.alertmanager.securityContext.fsGroup }}
{{- end }}
{{- if .Values.alertmanager.storageSpec }}
storage: {{- include "prometheus-operator.tplValue" (dict "value" .Values.alertmanager.storageSpec "context" $) | nindent 4 }}
{{- end }}