Add --force-conflicts option to kubectl apply --server-side when upgrade using Helm

Description

When an upgrade is performed via Helm and when we update the custom resource definition via kubectl, it creates the following conflicts:

This is likely because the Helm chart has installed the CRD, and to upgrade the chart, we need to execute commands using kubectl. So, there are two managers for the resource.
Maybe the documentation should add the --force-conflicts parameter in the following command when the helm upgrade happens:

Reference URL:

Environment

None

AFFECTED CS IDs

CS0048917

Activity

Done

Details

Assignee

Reporter

Needs QA

Yes

Needs Doc

Yes

Components

Sprint

Fix versions

Affects versions

Priority

Smart Checklist

Created October 11, 2024 at 10:35 AM
Updated March 19, 2025 at 9:26 AM
Resolved January 3, 2025 at 8:41 AM