[COMMON] Update all ReadinessChecks
[oom.git] / kubernetes / cds / components / cds-sdc-listener / templates / deployment.yaml
index 8688d8b..6922b24 100644 (file)
@@ -27,10 +27,10 @@ spec:
         - command:
           - /app/ready.py
           args:
-            - --container-name
+            - --service-name
             - sdc-be
-            - --container-name
-            - cds-blueprints-processor
+            - --service-name
+            - cds-blueprints-processor-http
           env:
           - name: NAMESPACE
             valueFrom:
@@ -43,10 +43,10 @@ spec:
           resources:
             limits:
               cpu: "100m"
-              memory: "0.5Gi"
+              memory: "500Mi"
             requests:
               cpu: "3m"
-              memory: "0.02Gi"
+              memory: "20Mi"
       containers:
         - name: {{ include "common.name" . }}
           image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
@@ -100,5 +100,4 @@ spec:
               path: application.yaml
             - key: logback.xml
               path: logback.xml
-      imagePullSecrets:
-      - name: {{ include "common.namespace" . }}-docker-registry-key
+      {{- include "common.imagePullSecrets" . | nindent 6 }}