Hi there, @KendallChenoweth you will need to register the asset(s) in each namespace you want to use them in, but you no longer need to hardcode this into your Asset definitions. As of Sensu Go version 5.10 you can omit the
metadata.namespaces attribute in resource definitions and provide the namespace via
sensuctl (defaults to the “active” namespace, or by specifying the namespace using the
Here’s the excerpt from the 5.10.0 release notes:
sensuctl create command now supports specifying the namespace for a group of resources at the time of creation, allowing you to replicate resources across namespaces without manual editing. See the sensuctl reference for more information and usage examples.