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

Propagating ServiceAccount #33

Closed ymmt2005 closed 2 years ago

ymmt2005 commented 2 years ago

What

The current implementation can propagate ServiceAccounts, but the propagated ServiceAccounts won't work because the Secret tokens issued for them in the parent namespace are not propagated.

The issued Secrets do not have metadata.ownerRerefences, so accurate.cybozu.com/propagate-generated cannot be used either.

How

Propagate ServiceAccounts without secrets field.

Checklist