You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The K8s secret that is created to store the secrets used for repository credentials are not deleted when the repository credential is deleted, thus leaving orphaned K8s secrets behind.
jannfis
changed the title
bug: K8s secrets for repository credential templates are not deleted when credential template is deleted
K8s secrets for repository credential templates are not deleted when credential template is deleted
Jan 24, 2020
…lates (#3016#3028) (#3029)
* Fix for calculation of credential secrets' names and secret deletion
* Fix comments to reflect reality
* Update unit tests
* Don't encode parts of the repo URL into secret names anymore
* Lint fixes
* Satisfy linter: Remove unused variable
* Retrigger stuck CI
Checklist:
argocd version
.Describe the bug
The K8s secret that is created to store the secrets used for repository credentials are not deleted when the repository credential is deleted, thus leaving orphaned K8s secrets behind.
To Reproduce
argocd repocreds add https://yourserver/path --ssh-private-key-path ~/.ssh/id_rsa
argocd
namespaceargocd repocreds rm https://yourserver/path
Expected behavior
The corresponding K8s secret should be deleted when the credential template is removed
Screenshots
If applicable, add screenshots to help explain your problem.
Version
The text was updated successfully, but these errors were encountered: