[CMPV2] Add readiness check
[oom.git] / kubernetes / platform / components / cmpv2-cert-provider / templates / deployment.yaml
index 3f0027f..3a99373 100644 (file)
@@ -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 }}