Skip to content
New issue

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

MutatingWebhookConfiguration v1 vs v1beta1 mismatch #1142

Closed
kriptor opened this issue May 15, 2020 · 1 comment · Fixed by #1144
Closed

MutatingWebhookConfiguration v1 vs v1beta1 mismatch #1142

kriptor opened this issue May 15, 2020 · 1 comment · Fixed by #1144
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@kriptor
Copy link

kriptor commented May 15, 2020

Is this a BUG REPORT or FEATURE REQUEST?:

/kind bug

What happened:
Installed kube-state-metrics into k8s cluster using prometheus-operator helm chart 8.13.7 and getting the following errors:
`E0515 10:14:07.385907 1 reflector.go:382] pkg/mod/k8s.io/client-go@v0.0.0-20191109102209-3c0d1af94be5/tools/cache/reflector.go:108: expected type *v1.MutatingWebhookConfiguration, but watch event object had type *v1beta1.MutatingWebhookConfiguration

E0515 10:19:54.430864 1 reflector.go:382] pkg/mod/k8s.io/client-go@v0.0.0-20191109102209-3c0d1af94be5/tools/cache/reflector.go:108: expected type *v1.VolumeAttachment, but watch event object had type *v1beta1.VolumeAttachment`

AFAIK the second log line represents a bug which is already fixed but fix version is not released yet.

What you expected to happen:
No errors mentioned above.

How to reproduce it (as minimally and precisely as possible):
Install kube-state-metrics v 1.9.5 into k8s 1.17.5

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version): 1.17.5
  • Kube-state-metrics image version 1.9.5
@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label May 15, 2020
@kriptor
Copy link
Author

kriptor commented May 24, 2020

Hi guys,

any chance this fix will get released soon? I hate that error. :)

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants