summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoey Sullivan <joey.sullivan@amdocs.com>2019-06-11 10:53:16 -0400
committerJoey Sullivan <joey.sullivan@amdocs.com>2019-06-11 11:18:25 -0400
commitbec0c98d5789051dca6b108d42a4a687bbb0a7f2 (patch)
tree10753e2192d9bcce47ae917211dfc9e4bbae186d
parentd55a1b07f956c98a48e336baf634ef61db9e7a71 (diff)
cassandra livenessProbe chart error
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 <joey.sullivan@amdocs.com> Change-Id: If19c8639d1a5c0968b7156e39945a3ca15dd18b5
-rw-r--r--.gitignore2
-rw-r--r--kubernetes/common/cassandra/templates/statefulset.yaml2
2 files changed, 3 insertions, 1 deletions
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: