-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: The CustomResourceDefinition "poolers.postgresql.cnpg.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes #4377
Comments
@remotejob try a server side apply
|
Thanks. OK As I understand I can't change the default PORT postgresql:
Anyway Result for install was:namespace/cnpg-system serverside-applied
So my question: How resolve conflicts or I can continue without resolve ? |
Can confirm this error happens, specifically through ArgoCD. Server-side apply applies it fine. |
It also happens at my environment, back to 1.22.1 is OK Version What version of Kubernetes are you using? What is your Kubernetes environment? How did you install the operator? |
for argocd @christiaangoossens, enabling - ServerSideApply=true works |
We can confirm this issue on a MicroK8s cluster, channel 1.29 (Kubernetes v1.29), with the provided cloudnative-pg addon, starting from cloudnative-pg version 1.22.2
Cloudnative-pg versions 1.22.2, 1.22.3, 1.23.0 and 1.23.1 show the same behaviour. We modified the mentioned MicroK8s addon enable script manually (/var/snap/microk8s/common/addons/community/addons/cloudnative-pg/enable) by adding However, do we need to change it to server side apply permanently or are there any ideas to fix this, to keep on client side apply? Edit: Ohhh I have missed the change notes in release 1.22.2. Therefor I guess cloudnative-pg will stay on server side apply. |
Hello, This was announced in the release 1.22.2 and it's on the release notes here: https://github.com/cloudnative-pg/cloudnative-pg/blob/main/docs/src/release_notes/v1.22.md#changes-2 Regards, |
Is there an existing issue already for this bug?
I have read the troubleshooting guide
I am running a supported version of CloudNativePG
Contact Details
aleksander.mazurov@gmail.com
Version
1.23.0
What version of Kubernetes are you using?
1.29
What is your Kubernetes environment?
Self-managed: k3s
How did you install the operator?
YAML manifest
What happened?
I successfully install cnpg-1.21.3.yaml but all versions after have an error
The CustomResourceDefinition "poolers.postgresql.cnpg.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
Command:
k apply -f https://github.com/cloudnative-pg/cloudnative-pg/releases/download/v1.22.3/cnpg-1.22.3.yaml
Cluster resource
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: