aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/music
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/music
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/music')
-rw-r--r--kubernetes/common/music/components/music-cassandra/templates/statefulset.yaml3
-rw-r--r--kubernetes/common/music/templates/deployment.yaml3
2 files changed, 2 insertions, 4 deletions
diff --git a/kubernetes/common/music/components/music-cassandra/templates/statefulset.yaml b/kubernetes/common/music/components/music-cassandra/templates/statefulset.yaml
index d80e70b5fb..7162926e80 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 @@ spec:
- 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 53d5a366f7..6ded511607 100644
--- a/kubernetes/common/music/templates/deployment.yaml
+++ b/kubernetes/common/music/templates/deployment.yaml
@@ -79,8 +79,7 @@ spec:
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 }}"