gansheer commented on PR #5610:
URL: https://github.com/apache/camel-k/pull/5610#issuecomment-2161230136

   Another thing to report is that on `descoped` installation the rolebindings 
referenced directly on `camel-k/install/base/config/rbac/kustomization.yaml` 
still contains `placeholder` value :
   ```
   subjects:
   - kind: ServiceAccount
     name: camel-k-operator
     namespace: placeholder
   ```
   The rolebindings from 
`camel-k/install/base/config/rbac/descoped/kustomization.yaml` are good since 
you removed the `namespace: placeholder` line in the `subjects` declaration.
   
   I remember when I stumbled on it that there is some kind of [hack from 
kustomize 
code](https://github.com/kubernetes-sigs/kustomize/blob/master/api/filters/namespace/namespace.go#L108)
 that make it replace with the given namespace if the value in the yaml is 
`default`. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to