fix minior bug that creates invalid kong DANM dannotation
[it/dep.git] / ric-aux / helm / infrastructure / subcharts / kong / templates / deployment.yaml
index 8184555..40afe66 100755 (executable)
@@ -63,7 +63,11 @@ spec:
                 {{- end }}
                 {{- printf "}" }}
               {{- end }}
+              {{- if ne $network.name (last $networklist).name }}
+              {{- printf "}," }}
+              {{- else }}
               {{- printf "}" }}
+              {{- end }}
             {{- end }}
           ] 
             {{- end }}