aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-resources/templates
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2024-04-11 13:53:39 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2024-04-11 18:41:30 +0200
commitee119102020f1dc6044f686c748a37ff0e7487de (patch)
treeefa4eaf61a118e50697a17ac7853ca62433332d1 /kubernetes/aai/components/aai-resources/templates
parent16d200e4f99dbad508156d936b9481bed051055b (diff)
[COMMON] Update all ReadinessChecks
Use the new "service" feature of the readiness image to resolve startup dependencies. Issue-ID: OOM-3280 Change-Id: Ia331d51528676744e5e0479d1fd0ca02830c3499 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/aai/components/aai-resources/templates')
-rw-r--r--kubernetes/aai/components/aai-resources/templates/deployment.yaml10
1 files changed, 3 insertions, 7 deletions
diff --git a/kubernetes/aai/components/aai-resources/templates/deployment.yaml b/kubernetes/aai/components/aai-resources/templates/deployment.yaml
index bd642f3ed3..122e522bb1 100644
--- a/kubernetes/aai/components/aai-resources/templates/deployment.yaml
+++ b/kubernetes/aai/components/aai-resources/templates/deployment.yaml
@@ -105,13 +105,9 @@ spec:
- --job-name
- {{ include "common.release" . }}-aai-graphadmin-create-db-schema
{{- else }}
- - --app-name
- {{- if .Values.global.cassandra.localCluster }}
- - aai-cassandra
- {{- else }}
- - cassandra
- {{- end }}
- - --container-name
+ - --service-name
+ - {{ .Values.global.cassandra.serviceName }}
+ - --service-name
- aai-schema-service
{{- end }}
{{- end }}