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 7a0fd5e commit 4e59bcb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ spec:
oc get routes -n ${SUITE_NAMESPACE}
export ROUTELIST=$(oc get routes -n ${SUITE_NAMESPACE} -o go-template --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}')
export ROUTELIST=$(oc get routes -n ${SUITE_NAMESPACE} -o jsonpath='{range .items[*]}{.metadata.name} {end}')
echo "Add label to routes ${ROUTELIST}"
for ROUTE in $ROUTELIST do
Expand Down

0 comments on commit 4e59bcb

Please sign in to comment.