We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the webhook struct we are currently using kubernetes.Clientset as type for the kubeClient field instead of its abstraction kubernetes.Interface
webhook
kubernetes.Clientset
kubeClient
kubernetes.Interface
Due to that testing (#2) with injecting fake.Clientset from https://godoc.org/k8s.io/client-go/kubernetes/fake is not possible because of a type mismatch.
fake.Clientset
The text was updated successfully, but these errors were encountered:
Great, would you like to create a PR for this, or I could go ahead with this.
Sorry, something went wrong.
You can go ahead.
@rahulchheda wouldn't it be even better to completely switch to dynamic client / dynamic interface as of #4 to also support OpenShift?
Right, that makes a lot of sense, let me spend some time on it.
No branches or pull requests
In the
webhook
struct we are currently usingkubernetes.Clientset
as type for thekubeClient
field instead of its abstractionkubernetes.Interface
Due to that testing (#2) with injecting
fake.Clientset
from https://godoc.org/k8s.io/client-go/kubernetes/fake is not possible because of a type mismatch.The text was updated successfully, but these errors were encountered: