[COMMON] Make imagePullSecrets configurable
[oom.git] / kubernetes / so / components / so-cnf-adapter / templates / deployment.yaml
index 6ce459a..d8670f1 100755 (executable)
@@ -78,7 +78,6 @@ spec:
             - name: config
               mountPath: /app/config
               readOnly: true
-              readOnly: true
             - name: encoder
               mountPath: /input
           livenessProbe:
@@ -101,5 +100,4 @@ spec:
         - name: encoder
           emptyDir:
             medium: Memory
-      imagePullSecrets:
-        - name: "{{ include "common.namespace" . }}-docker-registry-key"
+      {{- include "common.imagePullSecrets" . | nindent 6 }}