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

Allow force apply to be configured in metadata #787

Merged
merged 1 commit into from
Jan 27, 2023
Merged

Conversation

stefanprodan
Copy link
Member

This PR allows users to annotate or label objects with kustomize.toolkit.fluxcd.io/force: enabled to force apply a particular set of objects instead of having to set spec.force for all objects. See fluxcd/pkg#453 for the actual implementation and testing.

Ref: fluxcd/flux2#3433

In addition, this PR updates the controller dependencies and adapts the code to deal with controller-runtime v0.14.1 breaking changes.

@stefanprodan stefanprodan added enhancement New feature or request area/server-side-apply SSA related issues and pull requests labels Jan 27, 2023
@stefanprodan stefanprodan merged commit 99d70c8 into main Jan 27, 2023
@stefanprodan stefanprodan deleted the force-label branch January 27, 2023 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/server-side-apply SSA related issues and pull requests enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants