Merge "[COMMON] Add missing .helmignore files and "components/" entries"
[oom.git] / kubernetes / platform / components / cmpv2-cert-provider / templates / deployment.yaml
index 3f0027f..8bcbc1f 100644 (file)
@@ -1,4 +1,4 @@
-{{ if .Values.global.CMPv2CertManagerIntegration }}
+{{ if .Values.global.cmpv2Enabled }}
 
 # ============LICENSE_START=======================================================
 # Copyright (c) 2020 Nokia
@@ -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 }}