summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/readinessCheck/templates
AgeCommit message (Collapse)AuthorFilesLines
2021-12-09[COMMON] Make namespace configurablexuegao1-0/+4
Make the namespace parameter configurable for CertInitializer and ReadinessCheck Chart Issue-ID: OOM-2888 Signed-off-by: xuegao <xue.gao@intl.att.com> Change-Id: I5bb4e86be935921af1d852d6d7666fb5c8eaf725
2021-03-03[COMMON][READINESS] Fix user and groupSylvain Desbureaux1-0/+3
readiness check can be launched in a lot of various situation. Especially, it can be runned on deployments / statefulsets where the user and group are fixed. But python code underneath can work only when user is set to "onap" as requirements are installed only for this specific user. This patch forces the user and group to the desired one. Issue-ID: OOM-2694 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ie70f8e851c30f530fd7a0d6e34ee5bda9274e874
2021-01-08[COMMON][Readiness] Uses new tpls for repos / imagesSylvain Desbureaux1-1/+1
This commit makes Readiness Check template to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I6d115a071e11f9e992f04ec2a14595a5aed5401b
2020-12-14[COMMON] Add job support for readinessCheckSylvain Desbureaux1-1/+14
readinessCheck was only supporting "container" readiness and not "job" readiness. This patch adds the ability to wait for job readiness also. for that, we need to use the "extended" version and set type to `job` as we can see it the example: ```yaml wait_for: name: myname jobs: - '{{ include "common.release" . }}-the-job' ``` Issue-ID: OOM-2647 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Iee5426995de63ec8fe2f8c61ff9384a314c86db4
2020-09-04[GENERAL] Use readiness container v3.0.1Sylvain Desbureaux1-2/+2
Readiness container v3.x and up are now present in ONAP main repository. They're also not using root user anymore and then script path has changed. Finally, "job_complete" script has been integrated in main "ready" script. As those changes are significant, we must upgrade all the components at once. Depends-On: I5afa83892043f4844afe12e61724a8d368a9f2e0 Issue-ID: OOM-2545 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I0b4eb5dd86390273532d67d0a9696e1cfcadf110
2020-07-16[COMMON] Fix name generation in readinessCheck templateKrzysztof Opasiak1-6/+19
According to docummentation readinessCheck template accept wait_for value in a type of list. Unfortunately in that case it generated the init container name with -- as the name key was empty. This commit fixes this and ensures acceptance of both simple and extended format for wait_for value. Issue-ID: OOM-2511 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Ia345251f01ade5191f0a06d6eaec41cdd6a53459
2020-06-11[COMMON] Fix bad subchartDot retrievingSylvain Desbureaux1-2/+2
readinessCheck was retrieving "subchartDot" in string format and not in "object" format. This commit fixes it Issue-ID: OOM-1971 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I04060f973d283802e6269dc67370a336c5bcf95e
2020-05-20[COMMON] Templates for readinessSylvain Desbureaux1-0/+68
Create a template in order to have same readiness check everywhere. Issue-ID: OOM-1971 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: If3297184564a8e763110a79ff89eb07dfbc9e630