commit | a7ac7f022a8d2553d637ad8bf5fe3f12b65aa76e | [log] [tgz] |
---|---|---|
author | miroslavmasaryk <miroslav.masaryk@telekom.com> | Wed Mar 01 14:12:26 2023 +0100 |
committer | miroslavmasaryk <miroslav.masaryk@telekom.com> | Fri Mar 03 16:37:45 2023 +0100 |
tree | a6e7aca7585e3b309f0c48103eadea655e2382b9 | |
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
diff --git a/kubernetes/common/music/components/music-cassandra/templates/statefulset.yaml b/kubernetes/common/music/components/music-cassandra/templates/statefulset.yaml index d80e70b..7162926 100644 --- a/kubernetes/common/music/components/music-cassandra/templates/statefulset.yaml +++ b/kubernetes/common/music/components/music-cassandra/templates/statefulset.yaml
@@ -118,8 +118,7 @@ - name: {{ include "common.fullname" . }}-data mountPath: /var/lib/cassandra {{- end }} - resources: -{{ include "common.resources" . | indent 12 }} + resources: {{ include "common.resources" . | nindent 10 }} volumes: - name: localtime hostPath:
diff --git a/kubernetes/common/music/templates/deployment.yaml b/kubernetes/common/music/templates/deployment.yaml index 53d5a36..6ded511 100644 --- a/kubernetes/common/music/templates/deployment.yaml +++ b/kubernetes/common/music/templates/deployment.yaml
@@ -79,8 +79,7 @@ port: {{ .Values.readiness.port }} initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} periodSeconds: {{ .Values.readiness.periodSeconds }} - resources: -{{ include "common.resources" . | indent 12 }} + resources: {{ include "common.resources" . | nindent 12 }} env: - name: SPRING_OPTS value: "{{ .Values.springOpts }}"