Define PLMNID in values.yaml to change easier and change CNI to static
Change-Id: Id807240431aac91ec9be9204ce6cd2f62c3bb585
diff --git a/comac-cu/templates/networks.yaml b/comac-cu/templates/networks.yaml
index af46aa5..fd6a696 100644
--- a/comac-cu/templates/networks.yaml
+++ b/comac-cu/templates/networks.yaml
@@ -26,14 +26,6 @@
config: '{
"type": {{ .Values.network.f1.cni_plugin | quote }},
"ipam": {
- "type": {{ .Values.network.f1.ipam | quote }},
- {{- if eq .Values.network.f1.ipam "host-local" }}
- "subnet": {{ .Values.network.f1.subnet | quote }},
- "gateway": {{ .Values.network.f1.gateway | quote }}
- {{- else if eq .Values.network.f1.ipam "centralip" }}
- "ipType": "cluster",
- "network": {{ .Values.network.f1.subnet | quote }},
- "etcdURL": {{ .Values.network.etcdurl | quote }}
- {{- end }}
+ "type": {{ .Values.network.f1.ipam | quote }}
}
}'
\ No newline at end of file