diff options
author | miroslavmasaryk <miroslav.masaryk@telekom.com> | 2023-03-01 14:12:26 +0100 |
---|---|---|
committer | miroslavmasaryk <miroslav.masaryk@telekom.com> | 2023-03-03 16:37:45 +0100 |
commit | a7ac7f022a8d2553d637ad8bf5fe3f12b65aa76e (patch) | |
tree | a6e7aca7585e3b309f0c48103eadea655e2382b9 /kubernetes/common/common | |
parent | f423db98e3050fd98823174a99c24ea573880103 (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.tpl | 2 | ||||
-rw-r--r-- | kubernetes/common/common/templates/_resources.tpl | 2 |
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 -}} |