Skip to content

Commit d33e176

Browse files
author
OpenShift Bot
authored
Merge pull request #14130 from JacobTanenbaum/fix-helptext
Merged by openshift-bot
2 parents 713fd08 + 1599d80 commit d33e176

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

images/router/clear-route-status.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,12 @@ To clear only the status set by a specific router on all routes in all namespace
6363
router_name is the name in the deployment config, not the name of the pod. If the router is running it will
6464
immediately update any cleared status.
6565
66-
To clear the whole status field of the route by route name
66+
To clear the status field of a route or all routes in a given namespace
6767
./clear-route-status.sh [namespace] [route-name | ALL]
6868
69+
70+
Example Usage
71+
--------------
6972
To clear the status of all routes in all namespaces:
7073
oc get namespaces | awk '{if (NR!=1) print \$1}' | xargs -n 1 -I %% ./clear-route-status.sh %% ALL
7174

0 commit comments

Comments
 (0)