From bec0c98d5789051dca6b108d42a4a687bbb0a7f2 Mon Sep 17 00:00:00 2001 From: Joey Sullivan Date: Tue, 11 Jun 2019 10:53:16 -0400 Subject: [PATCH] cassandra livenessProbe chart error MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Disabling cassandra livenessProbe causes the charts generated yaml to append readinessProbe after containerPort because of go ‘-‘ command. Issue-ID: OOM-1922 Signed-off-by: Joey Sullivan Change-Id: If19c8639d1a5c0968b7156e39945a3ca15dd18b5 --- .gitignore | 2 ++ kubernetes/common/cassandra/templates/statefulset.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 92ead3a11c..96e76c17fc 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ kubernetes/config/onap-parameters.yaml kubernetes/dist/* requirements.lock **/charts/*.tgz +*.orig # AAI Schema **/schema/* @@ -21,3 +22,4 @@ requirements.lock # Mac OS *DS_Store* + diff --git a/kubernetes/common/cassandra/templates/statefulset.yaml b/kubernetes/common/cassandra/templates/statefulset.yaml index 0c7a112bcb..4be3570851 100644 --- a/kubernetes/common/cassandra/templates/statefulset.yaml +++ b/kubernetes/common/cassandra/templates/statefulset.yaml @@ -74,7 +74,7 @@ spec: timeoutSeconds: {{ .Values.liveness.timeoutSeconds }} successThreshold: {{ .Values.liveness.successThreshold }} failureThreshold: {{ .Values.liveness.failureThreshold }} - {{ end -}} + {{ end }} readinessProbe: exec: command: -- 2.16.6