From c810a9fa8dcb97b32f0babf5dc6a84688ccdb323 Mon Sep 17 00:00:00 2001 From: Thomas Colomb Date: Mon, 20 May 2019 14:41:12 +0200 Subject: [PATCH] [stable/prometheus] fix bad indentation for resources on init-container init-chown-data (#13762) Signed-off-by: Thomas Colomb --- stable/prometheus/Chart.yaml | 2 +- stable/prometheus/templates/server-deployment.yaml | 2 +- stable/prometheus/templates/server-statefulset.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stable/prometheus/Chart.yaml b/stable/prometheus/Chart.yaml index 11d30c8398..18bec5d23d 100755 --- a/stable/prometheus/Chart.yaml +++ b/stable/prometheus/Chart.yaml @@ -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/ diff --git a/stable/prometheus/templates/server-deployment.yaml b/stable/prometheus/templates/server-deployment.yaml index 837a755c27..e4a96403ce 100644 --- a/stable/prometheus/templates/server-deployment.yaml +++ b/stable/prometheus/templates/server-deployment.yaml @@ -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: diff --git a/stable/prometheus/templates/server-statefulset.yaml b/stable/prometheus/templates/server-statefulset.yaml index 5d0041be23..b952590daf 100644 --- a/stable/prometheus/templates/server-statefulset.yaml +++ b/stable/prometheus/templates/server-statefulset.yaml @@ -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: