Merge "[CPS] New Delhi release changes"
[oom.git] / kubernetes / dmaap / components / message-router / templates / statefulset.yaml
index 399e54f..ede6cb0 100644 (file)
@@ -34,15 +34,13 @@ spec:
           ports: {{ include "common.containerPorts" . | nindent 10  }}
           {{- if eq .Values.liveness.enabled true }}
           livenessProbe:
-            httpGet:
-              path: /events/__strimzi-topic-operator-kstreams-topic-store-changelog/CG1/C1
+            tcpSocket:
               port: {{ .Values.liveness.port }}
-              scheme: HTTP
-            failureThreshold: {{ .Values.liveness.failureThreshold }}
             initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
             periodSeconds: {{ .Values.liveness.periodSeconds }}
-            successThreshold: {{ .Values.liveness.successThreshold }}
             timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
+            successThreshold: {{ .Values.liveness.successThreshold }}
+            failureThreshold: {{ .Values.liveness.failureThreshold }}
           {{ end }}
           readinessProbe:
             tcpSocket:
@@ -53,15 +51,13 @@ spec:
             successThreshold: {{ .Values.readiness.successThreshold }}
             failureThreshold: {{ .Values.readiness.failureThreshold }}
           startupProbe:
-            httpGet:
-              path: /events/__strimzi-topic-operator-kstreams-topic-store-changelog/CG1/C1
-              port: {{ .Values.startup.port }}
-              scheme: HTTP
-            failureThreshold: {{ .Values.startup.failureThreshold }}
+            tcpSocket:
+                port: {{ .Values.startup.port }}
             initialDelaySeconds: {{ .Values.startup.initialDelaySeconds }}
             periodSeconds: {{ .Values.startup.periodSeconds }}
-            successThreshold: {{ .Values.startup.successThreshold }}
             timeoutSeconds: {{ .Values.startup.timeoutSeconds }}
+            successThreshold: {{ .Values.startup.successThreshold }}
+            failureThreshold: {{ .Values.startup.failureThreshold }}
           env:
           - name: JAASLOGIN
             valueFrom:
@@ -75,9 +71,6 @@ spec:
           - name: useZkTopicStore
             value: "false"
           volumeMounts:
-            - mountPath: /etc/localtime
-              name: localtime
-              readOnly: true
             - mountPath: /appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
               subPath: MsgRtrApi.properties
               name: appprops
@@ -126,9 +119,6 @@ spec:
               name: cluster-ca-certs
       serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes:
-        - name: localtime
-          hostPath:
-            path: /etc/localtime
         - name: appprops
           configMap:
             name: {{ include "common.fullname" . }}-msgrtrapi-prop-configmap