From a7ac7f022a8d2553d637ad8bf5fe3f12b65aa76e Mon Sep 17 00:00:00 2001 From: miroslavmasaryk Date: Wed, 1 Mar 2023 14:12:26 +0100 Subject: [COMMON] Fix resources indent Fix of resources template indent and therefore resources in components Issue-ID: OOM-3104 Signed-off-by: miroslavmasaryk Change-Id: I825a3860db00cae4bb80b2aa2d82ac1a42b33124 --- kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml | 3 +-- .../dmaap/components/dmaap-bc/templates/dmaap-provisioning-job.yaml | 3 +-- kubernetes/dmaap/components/dmaap-dr-node/templates/statefulset.yaml | 3 +-- kubernetes/dmaap/components/dmaap-dr-prov/templates/deployment.yaml | 3 +-- kubernetes/dmaap/components/message-router/templates/statefulset.yaml | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) (limited to 'kubernetes/dmaap/components') diff --git a/kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml b/kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml index e7887cc332..a7362f23e6 100644 --- a/kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml +++ b/kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml @@ -90,8 +90,7 @@ spec: - mountPath: /opt/app/dmaapbc/etc/logback.xml name: {{ include "common.fullname" . }}-log-conf subPath: logback.xml - resources: -{{ include "common.resources" . }} + resources: {{ include "common.resources" . | nindent 12 }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | nindent 10 }} {{- end -}} diff --git a/kubernetes/dmaap/components/dmaap-bc/templates/dmaap-provisioning-job.yaml b/kubernetes/dmaap/components/dmaap-bc/templates/dmaap-provisioning-job.yaml index 0f6c8f9dc0..e2ef7bdf3b 100644 --- a/kubernetes/dmaap/components/dmaap-bc/templates/dmaap-provisioning-job.yaml +++ b/kubernetes/dmaap/components/dmaap-bc/templates/dmaap-provisioning-job.yaml @@ -76,8 +76,7 @@ spec: mountPath: /opt/app/config/mr_clusters/ - name: {{ include "common.fullname" . }}-topics mountPath: /opt/app/config/topics/ - resources: -{{ include "common.resources" . }} + resources: {{ include "common.resources" . | nindent 10 }} {{ include "common.waitForJobContainer" . | indent 6 | trim }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | nindent 8 }} diff --git a/kubernetes/dmaap/components/dmaap-dr-node/templates/statefulset.yaml b/kubernetes/dmaap/components/dmaap-dr-node/templates/statefulset.yaml index f4167afe2f..994e7cb97d 100644 --- a/kubernetes/dmaap/components/dmaap-dr-node/templates/statefulset.yaml +++ b/kubernetes/dmaap/components/dmaap-dr-node/templates/statefulset.yaml @@ -67,8 +67,7 @@ spec: - mountPath: /opt/app/datartr/etc/logback.xml name: {{ include "common.fullname" . }}-log-conf subPath: logback.xml - resources: -{{ include "common.resources" . }} + resources: {{ include "common.resources" . | nindent 12 }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | nindent 10 }} {{- end -}} diff --git a/kubernetes/dmaap/components/dmaap-dr-prov/templates/deployment.yaml b/kubernetes/dmaap/components/dmaap-dr-prov/templates/deployment.yaml index f44dd7bfd0..b8c32b33ed 100644 --- a/kubernetes/dmaap/components/dmaap-dr-prov/templates/deployment.yaml +++ b/kubernetes/dmaap/components/dmaap-dr-prov/templates/deployment.yaml @@ -57,8 +57,7 @@ spec: - mountPath: /opt/app/datartr/etc/logback.xml name: {{ include "common.fullname" . }}-log-conf subPath: logback.xml - resources: -{{ include "common.resources" . }} + resources: {{ include "common.resources" . | nindent 12 }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 10 }} diff --git a/kubernetes/dmaap/components/message-router/templates/statefulset.yaml b/kubernetes/dmaap/components/message-router/templates/statefulset.yaml index bb42561cbe..f3658309bf 100644 --- a/kubernetes/dmaap/components/message-router/templates/statefulset.yaml +++ b/kubernetes/dmaap/components/message-router/templates/statefulset.yaml @@ -79,8 +79,7 @@ spec: - mountPath: /appl/dmaapMR1/bundleconfig/etc/logback.xml subPath: logback.xml name: logback - resources: -{{ include "common.resources" . }} + resources: {{ include "common.resources" . | nindent 12 }} - name: {{ .Values.zkTunnelService.name }} image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.zkTunnelService.image }} imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} -- cgit 1.2.3-korg