brancz / kube-rbac-proxy

Kubernetes RBAC authorizing HTTP proxy for a single upstream.
Apache License 2.0
577 stars 189 forks source link

fix bool,deprecated flags regression #293

Closed ibihim closed 4 months ago

ibihim commented 4 months ago

What

Fix a regression for the removed flags.

Why

If the bool value flag was specified like --logtostderr, without the =true, it was treated like --logtostderr=true in v0.15.0. In v0.16.0 and v0.17.0, --logtostderr without any value would treat the follow up flag as its value, which leads to a regression.

liouk commented 4 months ago

/lgtm