Tweak node selector in mcord-cdn-local chart
Change-Id: Ie89dd5c83ac1c2f565486205b3467aee6f9011bb
diff --git a/mcord/mcord-cdn-local/Chart.yaml b/mcord/mcord-cdn-local/Chart.yaml
index f906888..9c8fcce 100644
--- a/mcord/mcord-cdn-local/Chart.yaml
+++ b/mcord/mcord-cdn-local/Chart.yaml
@@ -18,4 +18,4 @@
appVersion: "1.0"
description: A Helm chart for MCORD CDN Services in Local Edge
name: mcord-cdn-local
-version: 0.1.3
+version: 0.1.4
diff --git a/mcord/mcord-cdn-local/templates/nginx.yaml b/mcord/mcord-cdn-local/templates/nginx.yaml
index aed0f95..82de8b0 100644
--- a/mcord/mcord-cdn-local/templates/nginx.yaml
+++ b/mcord/mcord-cdn-local/templates/nginx.yaml
@@ -48,7 +48,7 @@
spec:
#hostNetwork: true
nodeSelector:
- kubernetes.io/hostname: "node2"
+ kubernetes.io/hostname: {{ .Values.cdn_node_selector }}
terminationGracePeriodSeconds: 0
imagePullSecrets:
- name: nexus-docker-secret
diff --git a/mcord/mcord-cdn-local/values.yaml b/mcord/mcord-cdn-local/values.yaml
index 84c74fd..fbc4a06 100644
--- a/mcord/mcord-cdn-local/values.yaml
+++ b/mcord/mcord-cdn-local/values.yaml
@@ -14,6 +14,7 @@
# limitations under the License.
namespace: epc
+cdn_node_selector: node3
nginx_hostname: "nginx"
local_vlc_hostname: "local_vlc"
# need to be changed to appropriate wowza server outside edge -- we can use the option --set remote_ip when deploying