Skip to content

Allow force apply to be configured in metadata#787

Merged
stefanprodan merged 1 commit intomainfrom
force-label
Jan 27, 2023
Merged

Allow force apply to be configured in metadata#787
stefanprodan merged 1 commit intomainfrom
force-label

Conversation

@stefanprodan
Copy link
Copy Markdown
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 requested a review from hiddeco January 27, 2023 11:08
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@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