-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fine-tuning service account namespace #932
Comments
Note that you can already use the |
Though, there do appear to be some discrepancy, indeed, since it doesn't seem like that property is being used in |
Would |
Let me check the service account name part but no, the QOSDK property won't help with that, it will only help with specifying which namespaces will be used to generate the manifests, more specifically, which namespaces will be watched by the operator once deployed (if known). |
Could you actually clarify the scenario you have in mind here? The service account name that's used in the manifests is the one coming from the kubernetes extension generated manifests so it should be consistent unless I'm missing something? |
Suppose I use If support for |
If you generate a |
Yeah, that's what happens, but |
Fixes #932 Signed-off-by: Chris Laprun <[email protected]>
We can currently give the service account's namespace using
quarkus.kubernetes.namespace
, but this also results in the namespace being added everywhere to the generated Kubernetes resources. It would be useful to be able to also usequarkus.kubernetes.rbac.service-accounts.my-service-account.namespace=my_namespace
as the primary lookup, then fall-back toquarkus.kubernetes.namespace
.Aside - while looking at
AddRoleBindingsDecorator
, I noticed that the service account name is based on the deployment name. If the deployment has its ownserviceAccountName
already, it is ignored for the role binding, but still used in a generated CSV for the deployment.The text was updated successfully, but these errors were encountered: