commit | 7e10033a00a2965850ebe3eaa082821eeab17ae8 | [log] [tgz] |
---|---|---|
author | Woojoong Kim <woojoong@opennetworking.org> | Mon Feb 03 11:17:39 2020 -0800 |
committer | Woojoong Kim <woojoong@opennetworking.org> | Mon Feb 03 19:21:46 2020 +0000 |
tree | ea84163f93c848f2820e3d7d6d3c235158f53d0c | |
parent | 7f23b2dabb06c5a863ea996845c88687ee1c7f76 [diff] |
Add domain config on CDN-Rremote Change-Id: If78482784661461c822e97daf1622d13952833ba
diff --git a/ott-services/cdn-remote/Chart.yaml b/ott-services/cdn-remote/Chart.yaml index a0b3303..6c6c2fb 100644 --- a/ott-services/cdn-remote/Chart.yaml +++ b/ott-services/cdn-remote/Chart.yaml
@@ -17,4 +17,4 @@ appVersion: "1.0" description: A Helm chart for M-CORD CDN Services in Remote Edge name: cdn-remote -version: 0.2.3 +version: 0.2.4
diff --git a/ott-services/cdn-remote/templates/_helpers.tpl b/ott-services/cdn-remote/templates/_helpers.tpl index 13c5543..69921bd 100644 --- a/ott-services/cdn-remote/templates/_helpers.tpl +++ b/ott-services/cdn-remote/templates/_helpers.tpl
@@ -41,7 +41,7 @@ {{- define "cdn-remote.get_domain" -}} {{- $service := index . 0 -}} {{- $context := index . 1 -}} -{{- printf "%s-0.%s.%s.%s" $service $service $context.Release.Namespace "svc.cluster.local" -}} +{{- printf "%s.%s.svc.%s" $service $context.Release.Namespace $context.Values.config.clusterDomain -}} {{- end -}} {{/*
diff --git a/ott-services/cdn-remote/values.yaml b/ott-services/cdn-remote/values.yaml index 963f766..c515371 100644 --- a/ott-services/cdn-remote/values.yaml +++ b/ott-services/cdn-remote/values.yaml
@@ -47,6 +47,7 @@ memory: 1Gi config: + clusterDomain: cluster.local videoArchive: replicas: 1 q360p: