[COMMON] Make imagePullSecrets configurable
[oom.git] / kubernetes / policy / components / policy-xacml-pdp / templates / deployment.yaml
index f3cccff..b475d2c 100755 (executable)
@@ -45,10 +45,10 @@ spec:
         resources:
           limits:
             cpu: "100m"
-            memory: "0.5Gi"
+            memory: "500Mi"
           requests:
             cpu: "3m"
-            memory: "0.02Gi"
+            memory: "20Mi"
       - command:
         - sh
         args:
@@ -123,5 +123,4 @@ spec:
         - name: pdpxconfig-processed
           emptyDir:
             medium: Memory
-      imagePullSecrets:
-      - name: "{{ include "common.namespace" . }}-docker-registry-key"
+      {{- include "common.imagePullSecrets" . | nindent 6 }}