From 5f3bb1681b8946937b7804e129ccdec007384ed4 Mon Sep 17 00:00:00 2001 From: Calcagiara Date: Wed, 20 Nov 2024 16:47:53 +0100 Subject: [PATCH] feat(external-postgres-operator): added editable resources from values --- charts/ext-postgres-operator/Chart.yaml | 2 +- charts/ext-postgres-operator/templates/operator.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/ext-postgres-operator/Chart.yaml b/charts/ext-postgres-operator/Chart.yaml index da75627..2253cf1 100644 --- a/charts/ext-postgres-operator/Chart.yaml +++ b/charts/ext-postgres-operator/Chart.yaml @@ -11,7 +11,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.2.5 +version: 1.2.6 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/ext-postgres-operator/templates/operator.yaml b/charts/ext-postgres-operator/templates/operator.yaml index 17f6a81..8e2f5b2 100644 --- a/charts/ext-postgres-operator/templates/operator.yaml +++ b/charts/ext-postgres-operator/templates/operator.yaml @@ -66,6 +66,10 @@ spec: - name: {{ $key }} value: {{ $value }} {{- end }} + {{- if .Values.resources }} + resources: + {{- toYaml .Values.resources | nindent 12 }} + {{- end }} {{- if .Values.volumeMounts }} volumeMounts: {{- toYaml .Values.volumeMounts | nindent 12 }}