Adding params for voltha images
Change-Id: I47286050d58dfffdcaee79c07b2b378afb00077e
diff --git a/voltha/templates/10-default-backend.yaml b/voltha/templates/10-default-backend.yaml
index 60f368d..5b2cdb8 100644
--- a/voltha/templates/10-default-backend.yaml
+++ b/voltha/templates/10-default-backend.yaml
@@ -32,7 +32,7 @@
# Any image is permissable as long as:
# 1. It serves a 404 page at /
# 2. It serves 200 on a /healthz endpoint
- image: gcr.io/google_containers/defaultbackend:1.4
+ image: {{ .Values.httpBackendImage }}
livenessProbe:
httpGet:
path: /healthz
diff --git a/voltha/templates/60-cluster-ingress-nginx.yaml b/voltha/templates/60-cluster-ingress-nginx.yaml
index 7919eb7..839f4a4 100644
--- a/voltha/templates/60-cluster-ingress-nginx.yaml
+++ b/voltha/templates/60-cluster-ingress-nginx.yaml
@@ -43,7 +43,7 @@
privileged: true
containers:
- name: nginx-ingress-controller
- image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.10.2
+ image: {{ .Values.ingressControllerImage }}
args:
- /nginx-ingress-controller
- --default-backend-service=$(POD_NAMESPACE)/default-http-backend
diff --git a/voltha/values.yaml b/voltha/values.yaml
index 41b0e30..dec2e1d 100644
--- a/voltha/values.yaml
+++ b/voltha/values.yaml
@@ -68,6 +68,8 @@
ofagentImage: 'voltha/voltha-ofagent:1.4.0'
vcliImage: 'voltha/voltha-cli:1.4.0'
vcoreImage: 'voltha/voltha-voltha:1.4.0'
+httpBackendImage: 'gcr.io/google_containers/defaultbackend:1.4'
+ingressControllerImage: 'quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.10.2'
# Need the namespace global for kafka
global: