Add RBAC roles, fix DANM network bugs
[it/dep.git] / ric-aux / helm / infrastructure / subcharts / danm-networks / templates / danm.yaml
index cc4c02d..c94b8bf 100644 (file)
@@ -16,6 +16,7 @@
 {{- if $.Values.global.danm_networks }}
 {{- range keys $.Values.global.danm_networks }}
 {{- with index $.Values.global.danm_networks . }}
+{{- if ne .name "default" }}
 ---
 apiVersion: danm.k8s.io/v1
 kind: ClusterNetwork
@@ -39,7 +40,7 @@ spec:
 {{- if .net6 }}
     net6: {{ .net6 }}
 {{- end }}
-{{- if .routes }}
+{{- if .routes6 }}
     routes6:
 {{- range $subnet, $route := .routes6 }}
       {{ $subnet | quote }}: {{ $route | quote }}
@@ -53,3 +54,4 @@ spec:
 {{- end }}
 {{- end }}
 {{- end }}
+{{- end }}