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

kubeobjects: disable hooks #1533

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

raghavendra-talur
Copy link
Member

@raghavendra-talur raghavendra-talur commented Aug 27, 2024

So far, we don't have the ability to run hooks specified in a recipe. We
were wrongly passing these hooks to velero in the capture or recover
spec.

This commit disables the hooks completely by skipping them. In a later
PR, we will add the ability to run the hooks in the recipe natively in
Ramen.

So far, we don't have the ability to run hooks specified in a recipe. We
were wrongly passing these hooks to velero in the capture or recover
spec.

This commit disables the hooks completely by skipping them. In a later
PR, we will add the ability to run the hooks in the recipe natively in
Ramen.

Signed-off-by: Raghavendra Talur <[email protected]>
@raghavendra-talur
Copy link
Member Author

Fixes #1544

Copy link
Contributor

@asn1809 asn1809 left a comment

Choose a reason for hiding this comment

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

lgtm

@nirs
Copy link
Member

nirs commented Sep 8, 2024

So far, we don't have the ability to run hooks specified in a recipe. We
were wrongly passing these hooks to velero in the capture or recover
spec.

Why passing the hook to velero is wrong?

https://github.com/RamenDR/ramen/blob/main/docs/recipe.md does not specify how hooks should run. Maybe start this work by updating the doc to explain the desired behavior?

@ShyamsundarR
Copy link
Member

@raghavendra-talur the envtest failure seems genuine as it is a hook test is some different namespace. As hooks are disabled here, that test will not pass and needs to be removed or disabled.

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.

4 participants