Skip to content

featureGate adds the --feature-gates arg on all deployments and break Azure Service Operator deployed alongside CAPZ #388

@synthe102

Description

@synthe102

What steps did you take and what happened:
[A clear and concise description on how to REPRODUCE the bug.]

When setting specs.manager.featureGates, deployments other than the manager gets patched with the --feature-gates flag.
For instance CAPZ deploys Azure Service Operator, which breaks when using featureGates because the --feature-gates flag is added to the deployment args.

What did you expect to happen:
featureGates should only patch the manager deployment.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • Cluster-api-operator version: v0.7
  • Cluster-api version: 1.5.3
  • Minikube/KIND version:
  • Kubernetes version: (use kubectl version): 1.24
  • OS (e.g. from /etc/os-release):

/kind bug
[One or more /area label. See https://github.com/kubernetes-sigs/cluster-api-operator/labels?q=area for the list of labels]

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions