From f50c1c2e8049587293ad75d6d26a6a5152cf0f6b Mon Sep 17 00:00:00 2001 From: WrenIX Date: Mon, 5 Feb 2024 09:00:49 +0100 Subject: [PATCH] fix(metrics): indent in deployment Signed-off-by: WrenIX --- charts/nextcloud/Chart.yaml | 2 +- charts/nextcloud/templates/metrics/deployment.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index bb5a2f67..d5d28e2a 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 4.5.19 +version: 4.5.20 appVersion: 28.0.2 description: A file sharing server that puts the control and security of your own data back into your hands. keywords: diff --git a/charts/nextcloud/templates/metrics/deployment.yaml b/charts/nextcloud/templates/metrics/deployment.yaml index 6a3e6386..8c48a11c 100644 --- a/charts/nextcloud/templates/metrics/deployment.yaml +++ b/charts/nextcloud/templates/metrics/deployment.yaml @@ -66,8 +66,9 @@ spec: ports: - name: metrics containerPort: 9205 - {{- if .Values.metrics.resources }} - resources: {{- toYaml .Values.metrics.resources | nindent 10 }} + {{- with .Values.metrics.resources }} + resources: + {{- toYaml . | nindent 12 }} {{- end }} securityContext: runAsUser: 1000