cybozu-go / accurate

Kubernetes controller for multi-tenancy. It propagates resources between namespaces accurately and allows tenant users to create/delete sub-namespaces.
https://cybozu-go.github.io/accurate/
Apache License 2.0
38 stars 5 forks source link

Allow shell glob patterns for label/annotation keys #2

Closed ymmt2005 closed 3 years ago

ymmt2005 commented 3 years ago

What

Currently, Accurate only propagates labels and annotations whose key matches exactly with one of the keys defined in the configuration file.

It'd be handy if it allows shell glob patterns such as *.cybozu.com/*.

How

Use path.Match.

Checklist