Skip to content

The Correct Usage of OverridePolicy #6103

Open
@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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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