Skip to content

The Correct Usage of OverridePolicy #6103

Closed
karmada-io/website
#818
@vie-serendipity

Description

@vie-serendipity

Please provide an in-depth description of the question you have:
I use OverridePolicy to customize fields of deployment and configmap. And I put them into one OverridePolicy. I got the following log in controller manager.

replace operation does not apply: doc is missing path: /data/a: missing value

What do you think about this question?:

I found overriders would apply one by one to selected resources. The overrider for configmap applies to deployment, so the above error occured. In my scenario, does this mean I have to use two OverridePolicy to modify my resources? If so, I think it's necessary to declare in the docs.

Environment:

  • Karmada version:
  • Kubernetes version:
  • Others:

Metadata

Metadata

Labels

kind/questionIndicates an issue that is a support question.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions