Skip to content

Commit

Permalink
[patch] [MASCORE-3232] oc route template
Browse files Browse the repository at this point in the history
  • Loading branch information
padmankosalaram committed Aug 7, 2024
1 parent 3363f24 commit b072060
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ spec:
done
oc get routes -n ${SUITE_NAMESPACE}
export routes=$(oc get routes -n ${SUITE_NAMESPACE} -o jsonpath='{range .items[*]}{.metadata.name} {end}')
export routes=$(oc get routes -n ${SUITE_NAMESPACE} -o jsonpath='{range .items[*]}{.metadata.name}{@}{"\n"}{end}')
echo "Add label to routes ${routes}"
for route in $routes do
Expand All @@ -147,4 +146,5 @@ spec:
serviceAccountName: "mas-route-sa"
backoffLimit: 4

{{- end }}
{{- end }}

0 comments on commit b072060

Please sign in to comment.