Fix duplicate imagePullPolicy in ponsimv2 chart
Change-Id: I3d9dbe474e3b7d86158ceecb5de1150feb93e2b2
diff --git a/ponsimv2/templates/onu.yaml b/ponsimv2/templates/onu.yaml
index b29fc33..6179fc2 100644
--- a/ponsimv2/templates/onu.yaml
+++ b/ponsimv2/templates/onu.yaml
@@ -54,10 +54,9 @@
values:
- rg
topologyKey: kubernetes.io/hostname
-
containers:
- name: onu
- image: {{ .Values.global.registry }}{{ .Values.images.onu.repository }}:{{ tpl .Values.images.onu.tag . }}
+ image: "{{ .Values.global.registry }}{{ .Values.images.onu.repository }}:{{ tpl .Values.images.onu.tag . }}"
imagePullPolicy: {{ .Values.images.onu.pullPolicy }}
env:
- name: POD_IP
@@ -68,7 +67,6 @@
valueFrom:
fieldRef:
fieldPath: metadata.namespace
-
args:
- "/app/ponsim"
- "-device_type"
@@ -86,5 +84,3 @@
ports:
- containerPort: 50061
name: grpc-port
-
- imagePullPolicy: {{ .Values.images.olt.pullPolicy }}