From ee119102020f1dc6044f686c748a37ff0e7487de Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Thu, 11 Apr 2024 13:53:39 +0200 Subject: [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 --- kubernetes/sdc/components/sdc-be/templates/deployment.yaml | 8 ++++---- kubernetes/sdc/components/sdc-be/templates/job.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kubernetes/sdc/components/sdc-be') diff --git a/kubernetes/sdc/components/sdc-be/templates/deployment.yaml b/kubernetes/sdc/components/sdc-be/templates/deployment.yaml index 7adc9e8c3d..da970af4f1 100644 --- a/kubernetes/sdc/components/sdc-be/templates/deployment.yaml +++ b/kubernetes/sdc/components/sdc-be/templates/deployment.yaml @@ -29,11 +29,11 @@ spec: command: - /app/ready.py args: - - --container-name - - "sdc-onboarding-be" + - --service-name + - sdc-onboarding-be {{- if not .Values.global.kafka.useKafka }} - - --container-name - - "message-router" + - --service-name + - message-router {{- end }} env: - name: NAMESPACE diff --git a/kubernetes/sdc/components/sdc-be/templates/job.yaml b/kubernetes/sdc/components/sdc-be/templates/job.yaml index e9614438cf..30400a80b7 100644 --- a/kubernetes/sdc/components/sdc-be/templates/job.yaml +++ b/kubernetes/sdc/components/sdc-be/templates/job.yaml @@ -36,7 +36,7 @@ spec: command: - /app/ready.py args: - - --container-name + - --service-name - sdc-be - "-t" - "35" -- cgit 1.2.3-korg