Referencing nginx base image in voltha values.yaml
Change-Id: Iacf25838057f9f8fab2633ba17c1c2a3dc19255c
diff --git a/voltha/templates/60-cluster-ingress-nginx.yaml b/voltha/templates/60-cluster-ingress-nginx.yaml
index 62fba3f..98517ee 100644
--- a/voltha/templates/60-cluster-ingress-nginx.yaml
+++ b/voltha/templates/60-cluster-ingress-nginx.yaml
@@ -37,8 +37,8 @@
- sh
- -c
- sysctl -w net.core.somaxconn=32768; sysctl -w net.ipv4.ip_local_port_range="1024 65535"
- image: alpine:3.6
- imagePullPolicy: Always
+ image: {{ .Values.global.registry }}{{ .Values.images.ingress_controller_base.repository }}:{{ tpl .Values.images.ingress_controller_base.tag . }}
+ imagePullPolicy: {{ .Values.images.ingress_controller_base.pullPolicy }}
name: sysctl
securityContext:
privileged: true
diff --git a/voltha/values.yaml b/voltha/values.yaml
index 319685e..ee2f720 100644
--- a/voltha/values.yaml
+++ b/voltha/values.yaml
@@ -103,6 +103,10 @@
tag: '0.10.2'
pullPolicy: 'Always'
+ ingress_controller_base:
+ repository: 'alpine'
+ tag: '3.6'
+ pullPolicy: 'Always'
# Need the namespace global for kafka
global: