From: Zhe Huang Date: Thu, 14 May 2020 23:48:29 +0000 (-0400) Subject: fix minior bug that creates invalid kong DANM dannotation X-Git-Tag: f-release~109 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=41a66050f45c276ebfbb5e30c4f967478b1c6a39;p=it%2Fdep.git fix minior bug that creates invalid kong DANM dannotation Signed-off-by: Zhe Huang Change-Id: I96a15ac86f306135a5ccc8b7e604be516fa1c509 --- diff --git a/ric-aux/helm/infrastructure/subcharts/kong/templates/deployment.yaml b/ric-aux/helm/infrastructure/subcharts/kong/templates/deployment.yaml index 8184555f..40afe663 100755 --- a/ric-aux/helm/infrastructure/subcharts/kong/templates/deployment.yaml +++ b/ric-aux/helm/infrastructure/subcharts/kong/templates/deployment.yaml @@ -63,7 +63,11 @@ spec: {{- end }} {{- printf "}" }} {{- end }} + {{- if ne $network.name (last $networklist).name }} + {{- printf "}," }} + {{- else }} {{- printf "}" }} + {{- end }} {{- end }} ] {{- end }}