Currently skycli secret remove [SECRET_NAME] only remove the db reference but not the k8s secret, to make sure the deployed microservices won't be affected. We should cleanup the unreferenced secrets.
Idea 1: Setup a job in cluster to remove deleted and unreferenced secrets
Idea 2: Check and delete unreferenced secrets when stopping microservices and removing domains
Secret type need to be handled
[x] tls
[ ] docker config json for image pull secret
[ ] opaque
Portal Design
Remove this section if the feature have no Portal
Blog Post Specification
Blog Post of the Feature Release
Open Questions
Put a list of open questions here before a complete design / specification is decided
Description
Currently
skycli secret remove [SECRET_NAME]
only remove the db reference but not the k8s secret, to make sure the deployed microservices won't be affected. We should cleanup the unreferenced secrets.Idea 1: Setup a job in cluster to remove deleted and unreferenced secrets Idea 2: Check and delete unreferenced secrets when stopping microservices and removing domains
Secret type need to be handled
Portal Design
Remove this section if the feature have no Portal
Blog Post Specification
Blog Post of the Feature Release
Open Questions
Put a list of open questions here before a complete design / specification is decided
Related Issues