From 41a66050f45c276ebfbb5e30c4f967478b1c6a39 Mon Sep 17 00:00:00 2001 From: Zhe Huang Date: Thu, 14 May 2020 19:48:29 -0400 Subject: [PATCH] fix minior bug that creates invalid kong DANM dannotation Signed-off-by: Zhe Huang Change-Id: I96a15ac86f306135a5ccc8b7e604be516fa1c509 --- ric-aux/helm/infrastructure/subcharts/kong/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) 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 }} -- 2.16.6