summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/resources
diff options
context:
space:
mode:
authorMike Elliott <mike.elliott@amdocs.com>2019-04-30 19:17:52 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-30 19:17:52 +0000
commit354afbbf205d4c7e34337d7af184560882966d91 (patch)
treec3c7d813d64a6451b5630ab02183abe0727cde02 /kubernetes/sdc/resources
parentd9054f9a949d5a5842818ec51731f9889028e06f (diff)
parent35f83f5ba9cf0e7053160710fa18d73156bdba66 (diff)
Merge "Upgrade SDC to use common Cassandra Cluster"
Diffstat (limited to 'kubernetes/sdc/resources')
-rwxr-xr-xkubernetes/sdc/resources/config/environments/AUTO.json11
1 files changed, 6 insertions, 5 deletions
diff --git a/kubernetes/sdc/resources/config/environments/AUTO.json b/kubernetes/sdc/resources/config/environments/AUTO.json
index be9db4cd52..0c42d860ca 100755
--- a/kubernetes/sdc/resources/config/environments/AUTO.json
+++ b/kubernetes/sdc/resources/config/environments/AUTO.json
@@ -9,7 +9,7 @@
"default_attributes": {
"disableHttp": false,
- "CS_VIP": "sdc-cs.{{include "common.namespace" .}}",
+ "CS_VIP": "{{.Values.global.cassandra.serviceName}}.{{include "common.namespace" .}}",
"BE_VIP": "sdc-be.{{include "common.namespace" .}}",
"ONBOARDING_BE_VIP": "sdc-onboarding-be.{{include "common.namespace" .}}",
"DCAE_BE_VIP": "sdc-dcae-be.{{include "common.namespace" .}}",
@@ -42,7 +42,7 @@
},
"Nodes": {
"CS": [
- "sdc-cs.{{include "common.namespace" .}}"
+ "{{.Values.global.cassandra.serviceName}}.{{include "common.namespace" .}}"
],
"BE": "sdc-be.{{include "common.namespace" .}}",
"ONBOARDING_BE": "sdc-onboarding-be.{{include "common.namespace" .}}",
@@ -88,8 +88,8 @@
"cassandra_user": "asdc_user",
"cassandra_password": "Aa1234%^!",
"concurrent_writes": "32",
- "cluster_name": "SDC-CS-",
- "datacenter_name": "SDC-CS-",
+ "cluster_name": "{{.Values.global.cassandra.clusterName}}",
+ "datacenter_name": "{{.Values.global.cassandra.dataCenter}}",
"multithreaded_compaction": "false",
"cache_dir": "/var/lib/cassandra/saved_caches",
"log_file": "/var/lib/cassandra/log/system.log",
@@ -97,7 +97,8 @@
"commitlog_dir": "/var/lib/cassandra/commitlog",
"socket_read_timeout": "20000",
"socket_connect_timeout": "20000",
- "titan_connection_timeout": "10000"
+ "titan_connection_timeout": "10000",
+ "replication_factor": "{{.Values.global.cassandra.replicaCount}}"
}
}
}