Merge "Set aai&music Cassandra readiness periodSeconds"
[oom.git] / kubernetes / aai / charts / aai-cassandra / templates / statefulset.yaml
index 891526b..bd62c56 100644 (file)
@@ -60,7 +60,7 @@ spec:
             - -c
             - nodetool status | grep $POD_IP | awk '$1!="UN" { exit 1; }'
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
-          timeoutSeconds: {{ .Values.liveness.periodSeconds }}
+          periodSeconds: {{ .Values.readiness.periodSeconds }}
         lifecycle:
           preStop:
             exec:
@@ -125,4 +125,8 @@ spec:
         resources:
           requests:
             storage: {{ .Values.persistence.size | quote }}
+        selector:
+          matchLabels:
+            app: {{ include "common.name" . }}
+            release: "{{ .Release.Name }}"
   {{- end }}