Merge "[STRIMZI] Solve Security Policy violations"
[oom.git] / kubernetes / dcaegen2-services / common / dcaegen2-services-common / templates / _deployment.tpl
index b0c76a9..5e39d51 100644 (file)
@@ -313,6 +313,8 @@ spec:
           name: {{ ternary "app-config-input" "app-config" (not $drNeedProvisioning) }}
         - mountPath: /app-config-input
           name: app-config-input
+        - mountPath: /tmp
+          name: tmp-volume
         {{- if $logDir }}
         - mountPath: {{ $logDir}}
           name: logs
@@ -385,6 +387,9 @@ spec:
       - emptyDir:
           medium: Memory
         name: app-config
+      - name: tmp-volume
+        emptyDir:
+          sizeLimit: 128Mi
       {{- if $logDir }}
       - emptyDir: {}
         name: logs
@@ -403,8 +408,7 @@ spec:
       {{- end }}
       {{- include "common.dmaap.provisioning._volumes" . | nindent 6 -}}
       {{- include "dcaegen2-services-common._externalVolumes" . | nindent 6 }}
-      imagePullSecrets:
-      - name: "{{ include "common.namespace" . }}-docker-registry-key"
+      {{- include "common.imagePullSecrets" . | nindent 6 }}
 {{ end -}}
 
 {{/*