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

Create ramenOpsNamespace such that it is not cleaned up when ramen operator is uninstalled #1393

Open
raghavendra-talur opened this issue May 13, 2024 · 2 comments

Comments

@raghavendra-talur
Copy link
Member

In #1366 we added the functionality to automatically create the ramenOpsNamespace on the hub and the managed clusters. However, it is done using manifestwork for the managedclusters thereby removing the ramenops namespace when the operator is uninstalled.

Ideally, we want to keep the ramenOpsNamespace intact even after the operator is uninstalled.

@raghavendra-talur
Copy link
Member Author

Looks like setting a deleteOption of orphan is possible with the latest OCM manifest work api but it is not available in the version of stolostron fork we use. Refer to https://github.com/open-cluster-management-io/api/blob/main/work/v1/types.go#L43 and https://open-cluster-management.io/concepts/manifestwork/#delete-options

@ShyamsundarR
Copy link
Member

Looks like setting a deleteOption of orphan is possible with the latest OCM manifest work api but it is not available in the version of stolostron fork we use. Refer to https://github.com/open-cluster-management-io/api/blob/main/work/v1/types.go#L43 and https://open-cluster-management.io/concepts/manifestwork/#delete-options

This is being fixed here: 0f2df3e

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

No branches or pull requests

2 participants