fix minior bug that creates invalid kong DANM dannotation 04/3704/1
authorZhe Huang <zhehuang@research.att.com>
Thu, 14 May 2020 23:48:29 +0000 (19:48 -0400)
committerZhe Huang <zhehuang@research.att.com>
Thu, 14 May 2020 23:48:29 +0000 (19:48 -0400)
Signed-off-by: Zhe Huang <zhehuang@research.att.com>
Change-Id: I96a15ac86f306135a5ccc8b7e604be516fa1c509

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 }}