coreos / container-linux-update-operator

A Kubernetes operator to manage updates of Container Linux by CoreOS
Apache License 2.0
209 stars 49 forks source link

Respect a -kubeconfig and KUBECONFIG path in update-operator #115

Closed dghubble closed 7 years ago

dghubble commented 7 years ago

Adding client-go tools/clientcmd seems to add 111K lines in vendor. Sorry.

Note: Leader election is still using its own clientset which uses the in-cluster config :-1: As a result, this PR doesn't quite get us able to develop update-operator locally with just a kubeconfig. I started exploring changing leader election but it got complicated. This PR just switches the main client to get us closer.

dghubble commented 7 years ago

Step in the right direction for #90. Builds atop #118 which should merge first.