`kubelet --help` parsing to determine extra-args validation ignores single-letter flags

Bug #1958902 reported by Adam Dyess
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kubernetes Worker Charm
Fix Released
Undecided
Adam Dyess

Bug Description

https://github.com/charmed-kubernetes/charm-kubernetes-worker/blob/ffa3b648d7d600aef6bb4fe95121821c1fd44506/reactive/kubernetes_worker.py#L444-L477

parsing the output from `kubelet --help` needs to handle single-letter flags such as -h and -v

After parsing, the proper deprecated args to kubelet

Revision history for this message
Adam Dyess (addyess) wrote :
Changed in charm-kubernetes-worker:
assignee: nobody → Adam Dyess (addyess)
status: New → Fix Committed
Changed in charm-kubernetes-worker:
milestone: none → 1.24
Changed in charm-kubernetes-worker:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.