-
Notifications
You must be signed in to change notification settings - Fork 182
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
substituteFrom possible only from same namespace where Kustomization stored #1203
Comments
Kubernetes Secrets and ConfigMaps are not meant to be shared across namespaces, it would break RBAC. Use Kyverno or some other tool that can sync them from one namespace to another. |
Oh, I did not know about it. Thanks. For now, I am forced to declare substitutes for all flux customization:
It is not convenient, especially when adding some new variables. |
See here what cert-manager team recommends https://cert-manager.io/docs/devops-tips/syncing-secrets-across-namespaces/ or do your own search on Google, there are lots of options to sync secrets between namespaces. |
Many thanks. I will try. |
kustomize-controller/api/v1/kustomization_types.go
Line 223 in a1a33f2
In my case, the command created Kustomizations in different namespaces.
Such as
monitoring Kustomization -> namespace monitoring
logging Kustomization -> namespace logging
and so on.
How can I share basic variables between all clusters in this case?
Why is it restricted?
The text was updated successfully, but these errors were encountered: