aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/common
diff options
context:
space:
mode:
authormiroslavmasaryk <miroslav.masaryk@telekom.com>2023-03-01 14:12:26 +0100
committermiroslavmasaryk <miroslav.masaryk@telekom.com>2023-03-03 16:37:45 +0100
commita7ac7f022a8d2553d637ad8bf5fe3f12b65aa76e (patch)
treea6e7aca7585e3b309f0c48103eadea655e2382b9 /kubernetes/common/common
parentf423db98e3050fd98823174a99c24ea573880103 (diff)
[COMMON] Fix resources indent
Fix of resources template indent and therefore resources in components Issue-ID: OOM-3104 Signed-off-by: miroslavmasaryk <miroslav.masaryk@telekom.com> Change-Id: I825a3860db00cae4bb80b2aa2d82ac1a42b33124
Diffstat (limited to 'kubernetes/common/common')
-rw-r--r--kubernetes/common/common/templates/_dmaapProvisioning.tpl2
-rw-r--r--kubernetes/common/common/templates/_resources.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/common/common/templates/_dmaapProvisioning.tpl b/kubernetes/common/common/templates/_dmaapProvisioning.tpl
index 8b3f19f5ef..fae16ff7eb 100644
--- a/kubernetes/common/common/templates/_dmaapProvisioning.tpl
+++ b/kubernetes/common/common/templates/_dmaapProvisioning.tpl
@@ -118,7 +118,7 @@
{{- end }}
volumeMounts:
{{- include "common.dmaap.provisioning._volumeMounts" $dot | trim | nindent 2 }}
- resources: {{ include "common.resources" $dot | nindent 1 }}
+ resources: {{ include "common.resources" $dot | nindent 4 }}
- name: {{ include "common.name" $dot }}-init-merge-config
image: {{ include "repositoryGenerator.image.envsubst" $dot }}
imagePullPolicy: {{ $dot.Values.global.pullPolicy | default $dot.Values.pullPolicy }}
diff --git a/kubernetes/common/common/templates/_resources.tpl b/kubernetes/common/common/templates/_resources.tpl
index fae77435a3..cd60b996ce 100644
--- a/kubernetes/common/common/templates/_resources.tpl
+++ b/kubernetes/common/common/templates/_resources.tpl
@@ -55,5 +55,5 @@
*/ -}}
{{- define "common.resources" -}}
{{- $flavor := include "common.flavor" . -}}
-{{- toYaml (pluck $flavor .Values.resources | first) | indent 12 -}}
+{{- toYaml (pluck $flavor .Values.resources | first) -}}
{{- end -}}