In order to use k8s.io namespace in the API group for CRDs KEDA would need to have approval and add an "api-approved.kubernetes.io" annotation - see https://github.com/kubernetes/enhancements/pull/1111
One option is to change the API group to use a domain like keda.sh that is owned by the project.
KEDA CRDs conform to the Kubernetes API Review Process
The KEDA CRDs deployed to Kubernetes v1.16.0 and later have the following failed status condition:
- lastTransitionTime: "2020-01-21T15:22:05Z"
message: protected groups must have approval annotation "api-approved.kubernetes.io",
see https://github.com/kubernetes/enhancements/pull/1111
reason: MissingAnnotation
status: "False"
type: KubernetesAPIApprovalPolicyConformant
KubernetesAPIApprovalPolicyConformant of the CRDs using kubectl describe crd/scaledobjects.keda.k8s.ioWhile a breaking change, I'd suggest renaming the api group from keda.k8s.io to keda.sh
Good point, thanks. We're adding this to our v2.0 release!
I was thinking this through a bit more and what if we:
keda.shThat way we are already moving towards the new approach, but don't have to rush a 2.0 release until we bundle it with more breaking changes.
Would that be ok for you or do you think this should be fixed ASAP?
/cc @jeffhollan @ahmelsayed
merged into v2 branch
Most helpful comment
While a breaking change, I'd suggest renaming the api group from
keda.k8s.iotokeda.sh