Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(kuma-cp) delete related mesh resources with DeleteAll on ResourceManager #332

Merged
merged 3 commits into from
Oct 21, 2019

Conversation

jakubdyszkiewicz
Copy link
Contributor

Summary

Delete related mesh resources (including secrets) when mesh entity is deleted.
Rework of #312 due to https://github.com/Kong/kuma/pull/312#discussion_r332279987

Full changelog

  • Implement DeleteAll on ResourceManager

Issues resolved

Fix #191

pkg/core/resources/manager/manager_test.go Outdated Show resolved Hide resolved
pkg/core/managers/apis/mesh/mesh_manager.go Outdated Show resolved Hide resolved
pkg/core/resources/manager/manager.go Outdated Show resolved Hide resolved
pkg/core/resources/manager/customizable_manager.go Outdated Show resolved Hide resolved
Copy link
Contributor

@yskopets yskopets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 I like this version!

Just a few minor improvements

pkg/core/managers/apis/mesh/mesh_manager.go Show resolved Hide resolved
pkg/core/managers/apis/mesh/mesh_manager.go Show resolved Hide resolved
pkg/core/managers/apis/mesh/mesh_manager.go Outdated Show resolved Hide resolved
pkg/core/resources/manager/manager.go Show resolved Hide resolved
pkg/core/resources/manager/manager_test.go Show resolved Hide resolved
pkg/core/secrets/manager/manager.go Show resolved Hide resolved
@jakubdyszkiewicz jakubdyszkiewicz force-pushed the feature/delete-multiple-resources-v2 branch from 5a651c8 to d5348ce Compare October 21, 2019 13:32
@jakubdyszkiewicz jakubdyszkiewicz merged commit 0bc1125 into master Oct 21, 2019
@jakubdyszkiewicz jakubdyszkiewicz deleted the feature/delete-multiple-resources-v2 branch October 21, 2019 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deleting a Mesh should delete all the entities associated to the Mesh
2 participants