summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2018-05-14 17:43:40 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-14 17:43:40 +0000
commitd15a0f33b9fc5b21a94968b6e21a4606488b6436 (patch)
tree6bc748784bdface40a14ff4686652b58e04a1850 /kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml
parent32c36bd877ab102d35151e5e72ac9e17230693cd (diff)
parent26b650faf9e28c3d9c93250dca8d0d3c19c65dfe (diff)
Merge "Fix aai-cassandra service"
Diffstat (limited to 'kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml')
-rw-r--r--kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml5
1 files changed, 2 insertions, 3 deletions
diff --git a/kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml b/kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml
index 92f05dda7e..1a00b3c1d7 100644
--- a/kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml
+++ b/kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml
@@ -9,7 +9,7 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
- serviceName: {{ include "common.fullname" . }}
+ serviceName: {{ include "common.servicename" . }}
replicas: {{ .Values.replicaCount }}
podManagementPolicy: {{ .Values.podManagementPolicy }}
updateStrategy:
@@ -29,7 +29,6 @@ spec:
- containerPort: {{ .Values.service.internalPort }}
- containerPort: {{ .Values.service.internalPort2 }}
- containerPort: {{ .Values.service.internalPort3 }}
- - containerPort: {{ .Values.service.internalPort4 }}
{{- if eq .Values.liveness.enabled true }}
livenessProbe:
exec:
@@ -60,7 +59,7 @@ spec:
- name: HEAP_NEWSIZE
value: {{ .Values.config.heap.min }}
- name: CASSANDRA_SEEDS
- value: "{{- range $i, $e := until $seed_size }}{{ template "common.fullname" $global }}-{{ $i }},{{- end }}"
+ value: "{{- range $i, $e := until $seed_size }}{{ template "common.fullname" $global }}-{{ $i }}.{{ include "common.servicename" $global }},{{- end }}"
- name: JVM_OPTS
value: {{ .Values.config.jvmOpts | quote }}
- name: CASSANDRA_CLUSTER_NAME