Tenant Owner Reference on namespaces is lost after restoring from Velero backup #312
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
high-priority
Feature Request with high-priority
Bug description
The Tenant Owner Reference on namespaces is lost after restoring from backup using Velero.
[Velero requires cluster admin permission, so the restore is performed by the cluster admin and not by the tenant owner. Strictly speaking it's not a bug, since it works by design. However we should address this in some way because it is a requirement from project adopters].
How to reproduce
alice
, create one or more namespaces in the tenant$ velero create backup oil --include-namespaces='oil-production,oil-development,oil-marketing'
and the Tenant namespace count is not updated
Expected behavior
After restore, the namespaces should keep the Tenant Owner Reference even if the restore is made by cluster admin and not by tenant owner.
Logs
If applicable, please provide logs of
capsule
.In a standard stand-alone installation of Capsule,
you'd get this by running
kubectl -n capsule-system logs deploy/capsule-controller-manager
.Additional context
v0.1.0-rc2
helm list -n capsule-system
)kubectl version
)The text was updated successfully, but these errors were encountered: