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

Option to fully respect SSA #1294

Open
lictw opened this issue Nov 27, 2024 · 1 comment
Open

Option to fully respect SSA #1294

lictw opened this issue Nov 27, 2024 · 1 comment

Comments

@lictw
Copy link

lictw commented Nov 27, 2024

I think will be great if Flux will not override fields which no longer belong to its (lost ownership), single expection - kubectl manager name.

Cases:

  • Scale 0 some deployments for some time, for ex. while DB restoring/syncing, and return ownership after that to restore desired state.
  • HPA when application creates with replicas != 1, so we can not just omit it.

But most important for me personally - I'm working on release platform, which changes and image field, without which the application simply cannot be created, so it must have a default value, and application also start with some default settings in annotations, which also can be changed over-time. These fields are patched via SSA, but Flux return everything back with every reconcilation.

@stefanprodan
Copy link
Member

The way we want to support this use-case is by implementing fluxcd/pkg#696

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

No branches or pull requests

2 participants