Skip to content
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

enable serverside apply for tf-controller install #249

Merged
merged 1 commit into from
May 14, 2024

Conversation

nimakaviani
Copy link
Contributor

@nimakaviani nimakaviani commented May 14, 2024

Fixes The ConfigMap is invalid: metadata.annotations: Too long issue when installing the tf-controller.
Also bumps the version of the tofu controller

The problem is discussed in details here: argoproj/argo-cd#820 and the issue suggests to use ServerSideApply=true to skip the use of Kubectl when applying resources.

/cc @elamaran11

fixes The ConfigMap is invalid: metadata.annotations: Too long when installing the controller

Signed-off-by: Nima Kaviani <nkaviani@amazon.com>
@elamaran11
Copy link
Contributor

This issue was intermittent for me and not consistent but thanks for this fix.

@nabuskey
Copy link
Contributor

I've run into this issue before too. I think the fix for me was to use the replace option but it comes with some serious drawbacks. if SSA fixes it, I'm all for it.

@nimakaviani
Copy link
Contributor Author

yeah based on all the discussion in the issue I linked you can use eitehr ServerSideApply or Replace. Given the risks of Replace I went with @crenshaw-dev 's recommendation here.

@nabuskey nabuskey merged commit 3fa0784 into main May 14, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants