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
Some CRDs have very long annotations that cannot be created using kubectl apply but using kubectl create.
module.kafka.kubectl_manifest.kafka-cluster: Creating...
module.kafka.kubectl_manifest.kafka-users-crd: Creating...
module.kafka.kubectl_manifest.kafka-topics-crd: Creating...
module.kafka.kubectl_manifest.kafka-topics-crd: Creation complete after 0s [id=/apis/apiextensions.k8s.io/v1/customresourcedefinitions/kafkatopics.kafka.banzaicloud.io]
module.kafka.kubectl_manifest.kafka-users-crd: Creation complete after 0s [id=/apis/apiextensions.k8s.io/v1/customresourcedefinitions/kafkausers.kafka.banzaicloud.io]
module.kafka.kubectl_manifest.kafka-clusters-crd: Creating...
╷
│ Error: kafkaclusters.kafka.banzaicloud.io failed to run apply: error when creating "/tmp/214526343kubectl_manifest.yaml": CustomResourceDefinition.apiextensions.k8s.io "kafkaclusters.kafka.banzaicloud.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
│
│ with module.kafka.kubectl_manifest.kafka-clusters-crd,
│ on kafka/kafka-install.tf line 29, in resource "kubectl_manifest" "kafka-clusters-crd":
│ 29: resource "kubectl_manifest" "kafka-clusters-crd" {
│
╵
╷
Some CRDs have very long annotations that cannot be created using
kubectl apply
but usingkubectl create
.For example, this CRD is too long :
As a consequence, could you add an option in the resource definition ?
Example :
The text was updated successfully, but these errors were encountered: