peterducai / openshift-etcd-suite

tools to troubleshoot ETCD on Openshift 4
GNU General Public License v3.0
25 stars 18 forks source link

Escape the dollar sign in help_etcd_objects() #7

Closed troudbal closed 2 years ago

troudbal commented 2 years ago

The dollar sign should be escaped on this line https://github.com/peterducai/openshift-etcd-suite/blob/2592de190d85abb2d47c61328bc13928e08ecd07/etcd.sh#L54 otherwise the shown awk command is incorrect:

...
List secrets per namespace:

> oc get secrets -A --no-headers | awk '{ns[]++}END{for (i in ns) print i,ns[i]}'
...
peterducai commented 2 years ago

fixed in 54ab485