Open pddg opened 6 days ago
@pddg Thank you for the report. It seems there was an omission in the documentation, so I will take care of it.
Fixed after https://github.com/cybozu-go/moco/pull/760 (tested by installing chart from git repo), We should wait for chart release :)
Describe the bug
751 introduces ValidatingAdmissionPolicy. This feature is GA in Kubernetes 1.30.
https://kubernetes.io/blog/2024/04/24/validating-admission-policy-ga/
Kubernetes 1.30 or above only accepts
admissionregistration.k8s.io/v1
, notadmissionregistration.k8s.io/v1beta1
by default.Environments
To Reproduce
Following errors are shown:
Expected behavior
moco 0.25.0 can be installed for any supported kubernetes versions.
Additional context
K8s cluster used in E2E Test enables the
admissionregistration.k8s.io/v1beta1
. https://github.com/cybozu-go/moco/blob/389ae1248865a443f9fd152406d630faaecf0cd5/e2e/kind-config.yaml#L3-L6So the tests passed, but installation fails for the cluster with default configuration.
Replace
admissionregistration.k8s.io/v1beta1
withadmissionregistration.k8s.io/v1
, then it can be installed without any configuration.If additional FeatureGates are required for installation, it should be documented.
ValidatingAdmissionPolicy
is not available in K8s 1.29 by default.