diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-12-08 18:03:50 +0100 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-12-14 16:58:05 +0100 |
commit | a2e327595e334ee75b7f82fe46bfdd7195158ebc (patch) | |
tree | 3b67dde74e5e6a405a7d1e3040e5929298817180 /kubernetes/so/components/so-cnf-adapter/values.yaml | |
parent | 79a4467f0a8ea824c63206739eb51cebceaa3e0e (diff) |
[SO] Use readiness check job support
CNF Adapter needs to wait for mariadb config job to be performed.
Unfortunately, when we deploy using gating, the repositoryOverride makes
the pod to use a wrong image.
With readinessCheck job support, we don't have this issue anymore
Issue-ID: SO-3416
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I0ef79cdc46bc3dbd55988d3d1ad601ed9c6a4cdb
Diffstat (limited to 'kubernetes/so/components/so-cnf-adapter/values.yaml')
-rwxr-xr-x | kubernetes/so/components/so-cnf-adapter/values.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kubernetes/so/components/so-cnf-adapter/values.yaml b/kubernetes/so/components/so-cnf-adapter/values.yaml index 0fdd4f2edf..edd37382f7 100755 --- a/kubernetes/so/components/so-cnf-adapter/values.yaml +++ b/kubernetes/so/components/so-cnf-adapter/values.yaml @@ -76,6 +76,12 @@ secrets: ################################################################# image: onap/so/mso-cnf-adapter:1.7.1 pullPolicy: Always + +readinessCheck: + wait_for: + jobs: + - '{{ include "common.release" . }}-so-mariadb-config-job' + db: userName: so_user userPassword: so_User123 |