Merge "[CPS] New Delhi release changes"
[oom.git] / kubernetes / dmaap / components / dmaap-dr-prov / templates / deployment.yaml
index f44dd7b..197638e 100644 (file)
@@ -48,17 +48,13 @@ spec:
           - name: DB_PASSWORD
             {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "dmaap-dr-db-user-credentials" "key" "password") | indent 12 }}
           volumeMounts:
-            - mountPath: /etc/localtime
-              name: localtime
-              readOnly: false
             - mountPath: /opt/app/datartr/etc/provserver.properties
               name: {{ include "common.fullname" . }}-config
               subPath: provserver.properties
             - mountPath: /opt/app/datartr/etc/logback.xml
               name: {{ include "common.fullname" . }}-log-conf
               subPath: logback.xml
-          resources:
-{{ include "common.resources" . }}
+          resources: {{ include "common.resources" . | nindent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
@@ -69,9 +65,6 @@ spec:
         {{- end }}
       serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes:
-      - name: localtime
-        hostPath:
-          path: /etc/localtime
       - name: {{ include "common.fullname" . }}-config
         configMap:
           name: {{ include "common.fullname" . }}-configmap
@@ -81,5 +74,4 @@ spec:
       - name: {{ include "common.fullname" . }}-log-conf
         configMap:
           name: {{ include "common.fullname" . }}-log
-      imagePullSecrets:
-      - name: "{{ include "common.namespace" . }}-docker-registry-key"
+      {{- include "common.imagePullSecrets" . | nindent 6 }}