You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated CRD fails to install in the [neon-cluster-operator] Helm chart because it's missing the special api-approved.kubernetes.io annotation. Here's the Helm error:
CustomResourceDefinition.apiextensions.k8s.io "dnsendpoints.externaldns.k8s.io" is invalid: metadata.annotations[api-approved.kubernetes.io]: Required value: protected groups must have approval annotation "api-approved.kubernetes.io"
Perhaps the analyzer could identify resources like this by looking for [KubeGroup] values ending in ".k8s.io" and add this annotation or not generate the CRD at all (if that makes sense).
I'm not entirely sure that just adding the annotation will work. This post describes how doing this can result in unexpected (aka BAD) behavior:
The api-approved.kubernetes.io annotation doesn't really appear to be documented (kubernetes/website#30764). It's supposed to be set the the URL for the Kubernetes GitHub pull request that approved the CRD.
It doesn't look like we're referencing this anywhere, so I'm going to comment this out the ExternalDnsEndpoint class for now.
The text was updated successfully, but these errors were encountered:
The generated CRD fails to install in the [neon-cluster-operator] Helm chart because it's missing the special api-approved.kubernetes.io annotation. Here's the Helm error:
Perhaps the analyzer could identify resources like this by looking for [KubeGroup] values ending in ".k8s.io" and add this annotation or not generate the CRD at all (if that makes sense).
I'm not entirely sure that just adding the annotation will work. This post describes how doing this can result in unexpected (aka BAD) behavior:
The api-approved.kubernetes.io annotation doesn't really appear to be documented (kubernetes/website#30764). It's supposed to be set the the URL for the Kubernetes GitHub pull request that approved the CRD.
It doesn't look like we're referencing this anywhere, so I'm going to comment this out the ExternalDnsEndpoint class for now.
The text was updated successfully, but these errors were encountered: