[stable/prometheus] fix bad indentation for resources on init-container init-chown-data (#13762)

Signed-off-by: Thomas Colomb <colomb.thomas@free.fr>
This commit is contained in:
Thomas Colomb
2019-05-20 05:41:12 -07:00
committed by Kubernetes Prow Robot
parent 5818d5ff60
commit c810a9fa8d
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: prometheus
version: 8.11.2
version: 8.11.3
appVersion: 2.9.2
description: Prometheus is a monitoring system and time series database.
home: https://prometheus.io/
@@ -40,7 +40,7 @@ spec:
image: "{{ .Values.initChownData.image.repository }}:{{ .Values.initChownData.image.tag }}"
imagePullPolicy: "{{ .Values.initChownData.image.pullPolicy }}"
resources:
{{ toYaml .Values.initChownData.resources | indent 12 }}
{{ toYaml .Values.initChownData.resources | indent 10 }}
# 65534 is the nobody user that prometheus uses.
command: ["chown", "-R", "65534:65534", "{{ .Values.server.persistentVolume.mountPath }}"]
volumeMounts:
@@ -42,7 +42,7 @@ spec:
image: "{{ .Values.initChownData.image.repository }}:{{ .Values.initChownData.image.tag }}"
imagePullPolicy: "{{ .Values.initChownData.image.pullPolicy }}"
resources:
{{ toYaml .Values.initChownData.resources | indent 12 }}
{{ toYaml .Values.initChownData.resources | indent 10 }}
# 65534 is the nobody user that prometheus uses.
command: ["chown", "-R", "65534:65534", "{{ .Values.server.persistentVolume.mountPath }}"]
volumeMounts: