diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2024-04-11 13:53:39 +0200 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2024-04-11 18:41:30 +0200 |
commit | ee119102020f1dc6044f686c748a37ff0e7487de (patch) | |
tree | efa4eaf61a118e50697a17ac7853ca62433332d1 /kubernetes/dcaegen2-services/components/dcae-slice-analysis-ms | |
parent | 16d200e4f99dbad508156d936b9481bed051055b (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/dcaegen2-services/components/dcae-slice-analysis-ms')
-rw-r--r-- | kubernetes/dcaegen2-services/components/dcae-slice-analysis-ms/values.yaml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/kubernetes/dcaegen2-services/components/dcae-slice-analysis-ms/values.yaml b/kubernetes/dcaegen2-services/components/dcae-slice-analysis-ms/values.yaml index b648b56d92..fd70e36619 100644 --- a/kubernetes/dcaegen2-services/components/dcae-slice-analysis-ms/values.yaml +++ b/kubernetes/dcaegen2-services/components/dcae-slice-analysis-ms/values.yaml @@ -76,12 +76,6 @@ log: path: /var/log/ONAP/dcaegen2/services/sliceanalysisms logConfigMapNamePrefix: '{{ include "common.fullname" . }}' -# Dependencies -readinessCheck: - wait_for: - - &postgresName dcae-sliceanalysisms-postgres - - message-router - # Probe Configuration readiness: initialDelaySeconds: 60 @@ -216,7 +210,7 @@ resources: # Application configuration Overriding Defaults in the Postgres. ################################################################# postgres: - nameOverride: *postgresName + nameOverride: &postgresName dcae-sliceanalysisms-postgres service: name: *postgresName name2: dcae-sliceanalysisms-pg-primary @@ -233,6 +227,13 @@ postgres: pgDatabase: sliceanalysisms pgUserExternalSecret: *pgUserCredsSecretName +# Dependencies +readinessCheck: + wait_for: + services: + - '{{ .Values.postgres.service.name2 }}' + - message-router + #Pods Service Account serviceAccount: nameOverride: dcae-slice-analysis-ms |