[COMMON] Make imagePullSecrets configurable
[oom.git] / kubernetes / sdc / components / sdc-onboarding-be / templates / deployment.yaml
index 6c392ef..15180dc 100644 (file)
@@ -42,11 +42,11 @@ spec:
               fieldPath: metadata.namespace
         resources:
           limits:
-            cpu: 100m
-            memory: 100Mi
+            cpu: "100m"
+            memory: "500Mi"
           requests:
-            cpu: 3m
-            memory: 20Mi
+            cpu: "3m"
+            memory: "20Mi"
       containers:
         - name: {{ include "common.name" . }}
           image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
@@ -135,5 +135,4 @@ spec:
           defaultMode: 0755
       - name:  logs
         emptyDir: {}
-      imagePullSecrets:
-      - name: "{{ include "common.namespace" . }}-docker-registry-key"
+      {{- include "common.imagePullSecrets" . | nindent 6 }}