Skip to content

Commit

Permalink
Merge pull request #14130 from JacobTanenbaum/fix-helptext
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot authored May 17, 2017
2 parents 713fd08 + 1599d80 commit d33e176
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion images/router/clear-route-status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,12 @@ To clear only the status set by a specific router on all routes in all namespace
router_name is the name in the deployment config, not the name of the pod. If the router is running it will
immediately update any cleared status.
To clear the whole status field of the route by route name
To clear the status field of a route or all routes in a given namespace
./clear-route-status.sh [namespace] [route-name | ALL]
Example Usage
--------------
To clear the status of all routes in all namespaces:
oc get namespaces | awk '{if (NR!=1) print \$1}' | xargs -n 1 -I %% ./clear-route-status.sh %% ALL
Expand Down

0 comments on commit d33e176

Please sign in to comment.