Skip to content

error: unable to recognize "kudo.yaml": no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1" #1804

Open
@suikast42

Description

@suikast42

What happened:
The suggested init brings the error "error: unable to recognize "kudo.yaml": no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"

How to reproduce it (as minimally and precisely as possible):
$ kubectl kudo init --dry-run -o=yaml > kudo.yaml
$ kubectl apply -f kudo.yaml

Anything else we need to know?:
I look at extensible-admission-controllers and replace line 531 of the kudo.yaml with apiVersion: admissionregistration.k8s.io/v1
and add admissionReviewVersions: ["v1", "v1beta1"] to client config of that resource. After that I see no issues if I apply the kudo.yaml

Environment:

  • Kubernetes version (use kubectl version):v1.22.2+k3s2"
  • Kudo version (use kubectl kudo version): 0.19.0
  • Operator:
  • operatorVersion:
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions