-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
The ConfigMap is invalid: metadata.annotations: Too long: must have at most 262144 characters #5704
Comments
@rajivml just to get things done, i created configmap with kubectl :
But note that the argocd app will be remaining in outOfSync status,, which is actually embarrassing me in front of the crew :( |
Related: #2730 |
@abdennour do we have to do this manually instead through argoCD because argocd uses apply for everything ? |
@rajivml Unfortunately , no way to do it thru ArgoCD. I just did it manually : i broke the whole the gitOps approach, and i provided ugly README.md to the team to do it if i was not there. |
I opened issue on the related helm chart git repo jenkinsci/helm-charts#280 I would suggest to try to do the same with your charts where you are facing the same problem. I know this issue is related initially with the executor ( ArgoCD), but let's help others with any way. |
any deadline for fixing this issue ? |
PR that introduces Feature, will be available as part of v2.0-rc1 ( hopefully by end of tomorrow ) |
@alexmt, I also tried editing the live CRD resource and adding in that annotation:
And I get the same behavior as above.. and I know of no other way in a CRD installed by a Helm chart to add in that annotation. Am I missing something? |
Hello @diranged , You are right, CRD case was not fixed. The |
The closing issue as a duplicate of #820 |
I have also run into this, just today...and I have no clue how to debug this or otherwise fix/approach it. This still appears to be an issue. I'm seeing it currently. I tried to read around, google a bit, but haven't come up with much...and I'm not sure how to fix or debug this. ANY help would be much appreciated. In ArgoCD, the Error being displayed is:
I've adapted my approach by following the same pattern that argocd-autopilot takes with its bootstrap method...with my own slight modifications. This is where the code lives: https://github.com/armenr/5thK8s/tree/main/dependencies/bootstrap After installing and configuring argo-cd, this is the only file I kubectl apply -f in order to "bootstrap" all the other ArgoCD projects and apps: https://github.com/armenr/5thK8s/blob/main/dependencies/bootstrap/autopilot-bootstrap.yaml |
If you are trying to resolve an environment-specific issue or have a one-off question about the edge case that does not require a feature then please consider asking a question in argocd slack channel.
Checklist:
argocd version
.+Describe the bug
configmap with big size cannot be synced thru ArgoCD while it can be deployed thru helm and other alternatives
To Reproduce
Expected behavior
ArgoCD should apply the changes as long as there is no restriction from server ( etcd,... )
Screenshots
Version
Logs
Duplicate of #820 . However, no way to get this one opened again while it's resolved and it's reproducable for more than 3 years
The text was updated successfully, but these errors were encountered: