kubeclient
kubeclient copied to clipboard
serialize labelSelector in get_pods and others
get_pods label_selector: {foo: 1} atm results in http://foobar.server/api/v1/namespaces/pod1/pods?labelSelector%5Bfoo%5D=1 ... but should be: http://foobar.server/api/v1/namespaces/pod1/pods?labelSelector=foo%3D1
label_selector: 'foo=1' works, right? This would be just sugar?
There are 4 selector operators, =, !=, in, notin. How would you represent the other types?
these need to be string ... either turn hash into proper query or blow up with an ArgumentError ... just don't keep the current state of "weird unexpected behavior"