Define value for redis hostname in Accelleran CU
Change-Id: I1a08aed136e6e2dbbd79f7da9dba05f0ac68b5dc
diff --git a/ran/accelleran-cbrs/accelleran-cbrs-common/Chart.yaml b/ran/accelleran-cbrs/accelleran-cbrs-common/Chart.yaml
index 8145f59..0cb11a2 100644
--- a/ran/accelleran-cbrs/accelleran-cbrs-common/Chart.yaml
+++ b/ran/accelleran-cbrs/accelleran-cbrs-common/Chart.yaml
@@ -18,4 +18,4 @@
description: A Helm chart to install Accelleran common to run Accelleran CU on CBRS band
icon: https://guide.opencord.org/logos/cord.svg
-version: 0.1.0
\ No newline at end of file
+version: 0.1.1
\ No newline at end of file
diff --git a/ran/accelleran-cbrs/accelleran-cbrs-common/templates/configmap-accelleran-cbrs-ric.yaml b/ran/accelleran-cbrs/accelleran-cbrs-common/templates/configmap-accelleran-cbrs-ric.yaml
index fece85e..38fe7ef 100644
--- a/ran/accelleran-cbrs/accelleran-cbrs-common/templates/configmap-accelleran-cbrs-ric.yaml
+++ b/ran/accelleran-cbrs/accelleran-cbrs-common/templates/configmap-accelleran-cbrs-ric.yaml
@@ -23,7 +23,7 @@
{{ tuple "accelleran-cbrs-ric-cm" . | include "accelleran-cbrs-common.metadata_labels" | indent 4 }}
data:
bootstrap: |
- redis.hostname:accelleran-cbrs-redis
+ redis.hostname:{{ .Values.config.redis.hostName }}
redis.port:{{ .Values.config.redis.ports.redisPort.port }}
instance.filter:{{ .Values.config.ric.instanceId }}
diff --git a/ran/accelleran-cbrs/accelleran-cbrs-common/values.yaml b/ran/accelleran-cbrs/accelleran-cbrs-common/values.yaml
index 89dda71..3a44245 100644
--- a/ran/accelleran-cbrs/accelleran-cbrs-common/values.yaml
+++ b/ran/accelleran-cbrs/accelleran-cbrs-common/values.yaml
@@ -57,6 +57,7 @@
nodePort: 31002
protocol: TCP
redis:
+ hostName: accelleran-cbrs-redis
ports:
redisPort:
port: 6379
diff --git a/ran/accelleran-cbrs/accelleran-cbrs-cu/Chart.yaml b/ran/accelleran-cbrs/accelleran-cbrs-cu/Chart.yaml
index 64597f4..a9395aa 100644
--- a/ran/accelleran-cbrs/accelleran-cbrs-cu/Chart.yaml
+++ b/ran/accelleran-cbrs/accelleran-cbrs-cu/Chart.yaml
@@ -18,4 +18,4 @@
description: A Helm chart to install Accelleran CU on CBRS band
icon: https://guide.opencord.org/logos/cord.svg
-version: 0.1.1
+version: 0.1.2
diff --git a/ran/accelleran-cbrs/accelleran-cbrs-cu/templates/configmap-accelleran-cbrs-cu.yaml b/ran/accelleran-cbrs/accelleran-cbrs-cu/templates/configmap-accelleran-cbrs-cu.yaml
index 3c67926..cf35e03 100644
--- a/ran/accelleran-cbrs/accelleran-cbrs-cu/templates/configmap-accelleran-cbrs-cu.yaml
+++ b/ran/accelleran-cbrs/accelleran-cbrs-cu/templates/configmap-accelleran-cbrs-cu.yaml
@@ -23,7 +23,7 @@
{{ tuple "accelleran-cbrs-cu-cm" . | include "accelleran-cbrs-cu.metadata_labels" | indent 4 }}
data:
bootstrap: |
- redis.hostname:accelleran-cbrs-redis
+ redis.hostname:{{ .Values.config.redis.hostName }}
redis.port:{{ .Values.config.redis.ports.redisPort.port }}
instance.filter:{{ .Values.config.vranL3.instanceId }}
diff --git a/ran/accelleran-cbrs/accelleran-cbrs-cu/values.yaml b/ran/accelleran-cbrs/accelleran-cbrs-cu/values.yaml
index 8c8ac75..1a23935 100644
--- a/ran/accelleran-cbrs/accelleran-cbrs-cu/values.yaml
+++ b/ran/accelleran-cbrs/accelleran-cbrs-cu/values.yaml
@@ -52,6 +52,7 @@
nodePort: 31412
protocol: SCTP
redis:
+ hostName: accelleran-cbrs-redis
ports:
redisPort:
port: 6379