Skip to content

enable serverside apply for tf-controller install#249

Merged
nabuskey merged 1 commit intomainfrom
tf-serverside-apply
May 14, 2024
Merged

enable serverside apply for tf-controller install#249
nabuskey merged 1 commit intomainfrom
tf-serverside-apply

Conversation

@nimakaviani
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@nabuskey
Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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
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