Skip to content

Commit

Permalink
remove namespace arg check for provider
Browse files Browse the repository at this point in the history
Signed-off-by: melserngawy <melserng@redhat.com>
  • Loading branch information
serngawy committed Oct 15, 2024
1 parent 2d23589 commit 40ec27b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions internal/controller/component_customizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,7 @@ func customizeContainer(cSpec operatorv1.ContainerSpec, d *appsv1.Deployment) {
for j, c := range d.Spec.Template.Spec.Containers {
if c.Name == cSpec.Name {
for an, av := range cSpec.Args {
// The `ContainerSpec.Args` will ignore the key `namespace` since the operator
// enforces a deployment model where all the providers should be configured to
// watch all the namespaces.
if an != "namespace" {
c.Args = setArgs(c.Args, an, av)
}
c.Args = setArgs(c.Args, an, av)
}

for _, se := range cSpec.Env {
Expand Down

0 comments on commit 40ec27b

Please sign in to comment.