Merge "[CPS] New Delhi release changes"
[oom.git] / kubernetes / dmaap / components / dmaap-dr-node / templates / statefulset.yaml
index f4167af..2795a2b 100644 (file)
@@ -58,30 +58,22 @@ spec:
               name: {{ include "common.fullname" . }}-spool
             - mountPath: {{ .Values.persistence.event.path }}
               name: {{ include "common.fullname" . }}-event-logs
-            - mountPath: /etc/localtime
-              name: localtime
-              readOnly: false
             - mountPath: /opt/app/datartr/etc/node.properties
               name: {{ include "common.fullname" . }}-config
               subPath: node.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 | nindent 10 }}
         {{- end -}}
         {{- if .Values.affinity }}
         affinity: {{ toYaml .Values.affinity | nindent 10 }}
         {{- end }}
-      imagePullSecrets:
-      - name: "{{ include "common.namespace" . }}-docker-registry-key"
+      {{- include "common.imagePullSecrets" . | nindent 6 }}
       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" . }}-node-props