[COMMON] Make imagePullSecrets configurable
[oom.git] / kubernetes / common / network-name-gen / templates / deployment.yaml
index 010ec0f..6bba995 100644 (file)
@@ -46,10 +46,10 @@ spec:
         resources:
           limits:
             cpu: "100m"
-            memory: "0.5Gi"
+            memory: "500Mi"
           requests:
             cpu: "3m"
-            memory: "0.02Gi"
+            memory: "20Mi"
       containers:
       - name: {{ include "common.name" . }}
         command:
@@ -117,5 +117,4 @@ spec:
       - name: certs
         secret:
             secretName: {{ include "common.release" . }}-aai-keystore
-      imagePullSecrets:
-      - name: "{{ include "common.namespace" . }}-docker-registry-key"
+      {{- include "common.imagePullSecrets" . | nindent 6 }}