Closed wmhutchison closed 6 years ago
I see all the oc get
outputs changed from plural to singular. I've found another way to get name lists from oc get
that might be more future proof.
oc get -o=custom-columns=NAME:.metadata.name --no-headers <resource>
should always produce just a list of the things, no need for sed
.
Not sure if it's worth doing that in this PR or a separate one though.
Applied all issues noted, as well as changes to remove the sed regarding parsing out "node" and "pod" (used to be "nodes" and "pods"). Future proofing is a good thing.
Removed checks which broke due to being in a container versus a systemd service. May receive additional polishing over time.