open-cluster-management-io / addon-framework

addon apis
Apache License 2.0
23 stars 40 forks source link

Support for using Cluster Labels in AddonTemplate #224

Open suresh-j2 opened 11 months ago

suresh-j2 commented 11 months ago

As part of AddonTemplate, it would be great to have read the values from Cluster Labels.

For example, if I set some hostname in managed cluster label, as part of addon manager, I can read that label key and use it while applying manifest.

This way, we can use the variable name and may be use cluster specific value also.