Closed chazsconi closed 6 years ago
Nice one @chazsconi - thanks for the contribution. Have a few comments & questions though, which I'll make sometime soon.
Could you add a simple integration test of this watch functionality please? (in the test/integration_test.exs
file) Maybe something that watches pods & then creates, updates & deletes it.
I guess I haven't added instructions for running the integration tests, but it should be fairly simple. Make sure you have a kube cluster set up & a kube config file for it, then set the KUBECONFIG environment variable to point at that file, and run the integration tests. Something like this:
export KUBECONFIG=whatever
mix test --only integration
Now that K8S 1.8.8 has been released with https://github.com/kubernetes/kubernetes/pull/58547 fixed, I will get this finished.
Actually I'll wait until #30 is merged otherwise there'll be quite a few conflicts.
Now updated and rebased against master
Agreed - capture_log: false
is not required. I've removed it.
Awesome, excited to finally get this merged.
Thanks for merging!
Resolves #12