summaryrefslogtreecommitdiffstats
path: root/kubernetes/platform/components/cmpv2-cert-provider/templates
diff options
context:
space:
mode:
authorJan Malkiewicz <jan.malkiewicz@nokia.com>2020-12-10 10:34:00 +0100
committerJan Malkiewicz <jan.malkiewicz@nokia.com>2020-12-15 07:58:31 +0000
commitc681111a545e69d0705ac9708a74b440976d6334 (patch)
tree05357bb7e0f9ba42105d954a556be5b72f985bbe /kubernetes/platform/components/cmpv2-cert-provider/templates
parent92abd28e06b8221e8ff3f0785c9702376010ad94 (diff)
[CMPV2] Add readiness check
Wait for oom-cert-service Issue-ID: OOM-2560 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: Ie78d1ed0500ff44cb24c7859faa9f6366e93ecd8
Diffstat (limited to 'kubernetes/platform/components/cmpv2-cert-provider/templates')
-rw-r--r--kubernetes/platform/components/cmpv2-cert-provider/templates/deployment.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/platform/components/cmpv2-cert-provider/templates/deployment.yaml b/kubernetes/platform/components/cmpv2-cert-provider/templates/deployment.yaml
index 3f0027f1be..3a993734e4 100644
--- a/kubernetes/platform/components/cmpv2-cert-provider/templates/deployment.yaml
+++ b/kubernetes/platform/components/cmpv2-cert-provider/templates/deployment.yaml
@@ -33,6 +33,8 @@ spec:
labels:
control-plane: controller-manager
spec:
+ initContainers:
+ {{ include "common.readinessCheck.waitFor" . | indent 6 | trim }}
containers:
- name: {{ .Values.deploymentProxy.name }}
image: {{ .Values.deploymentProxy.image }}