Skip to content

Conversation

@priyanshuharshbodhi1
Copy link

@priyanshuharshbodhi1 priyanshuharshbodhi1 commented Aug 8, 2025

What this PR does:
Adds a new annotation pipecd.dev/force-conflicts: "true".
When used with pipecd.dev/server-side-apply: "true", kubectl apply includes --force-conflicts.

Why we need it:
SSA can fail on resources previously managed by Client-Side Apply due to field ownership conflicts. --force-conflicts resolves conflicts by taking ownership, as recommended by kubectl’s error guidance.

Which issue(s) this PR fixes:

Fixes #4639

Does this PR introduce a user-facing change?:

  • How are users affected by this change: New opt-in annotation allows forcing conflicts with SSA.
  • Is this breaking change: No
  • How to migrate (if breaking change): N/A

@priyanshuharshbodhi1
Copy link
Author

@khanhtc1202 PTAL!

@github-actions
Copy link
Contributor

github-actions bot commented Sep 8, 2025

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions
Copy link
Contributor

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Oct 12, 2025
@github-actions
Copy link
Contributor

This PR was closed because it has been stalled for 7 days with no activity. Feel free to reopen if still applicable.

@github-actions github-actions bot closed this Oct 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support --force-conflicts option for kubectl Server-Side Apply

2 participants