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

Implement server-side apply across Flux projects #1889

Closed
11 tasks done
stefanprodan opened this issue Oct 4, 2021 · 0 comments · Fixed by fluxcd/website#575
Closed
11 tasks done

Implement server-side apply across Flux projects #1889

stefanprodan opened this issue Oct 4, 2021 · 0 comments · Fixed by fluxcd/website#575
Assignees
Labels
enhancement New feature or request

Comments

@stefanprodan
Copy link
Member

stefanprodan commented Oct 4, 2021

When we started Flux v2, we've set a goal to stop relying on 3rd party binaries for core features. While we've successfully replaced the Git CLI shell execs with Go libraries (go-git, git2go) and C libraries (libgit2, libssh2), the kustomize CLI with Go libraries (kustomize/api, kustomize/kyaml), we're still depending on the kubectl CLI for the 3-way-merge apply feature. With Kubernetes server-side apply being promoted to GA, we can finally get rid of kubectl and drive the reconciliation using exclusively the controller-runtime Go client.

Using server-side apply means that the minimum supported version of Kubernetes is:

Kubernetes version Minimum required
v1.16 >= 1.16.11
v1.17 >= 1.17.7
v1.18 >= 1.18.4
v1.19 and later >= 1.19.0

Coding tasks

Documentation tasks

  • Update the get start guide and set the target namespace
  • Update the kustomize-controller API docs to v1beta2
  • Update all Kustomization samples to v1beta2 and remove the .spec.validation field
  • Update the minimum required version of Kubernetes in install docs

Note that the docs PRs must be merged after flux2 v0.18.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant