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

refactor kube plugin's Action system #6

Merged
merged 1 commit into from
Feb 18, 2024

Conversation

jaypipes
Copy link
Member

@jaypipes jaypipes commented Jan 15, 2024

Cleans up gdt-kube's execution of kube actions to pull all assertion evaluation up to the Spec.Eval() method.

Functionally, the only difference this patch introduces is that retries are now performed in the Spec.Eval() method instead of only in the Spec.doGet/doList() methods. What this means is that all kube client calls, including Create, Delete and Apply, will be retried by default.

Note this is precursor/required work for #1

@jaypipes jaypipes marked this pull request as draft January 15, 2024 19:33
Copy link
Member

@a-hilaly a-hilaly left a comment

Choose a reason for hiding this comment

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

LGTM

Cleans up gdt-kube's execution of kube actions to pull all assertion
evaluation up to the `Spec.Eval()` method.

Functionally, the only difference this patch introduces is that retries
are now performed in the `Spec.Eval()` method instead of only in the
`Spec.doGet/doList()` methods. What this means is that all kube client
calls, including Create, Delete and Apply, will be retried by default.

Signed-off-by: Jay Pipes <[email protected]>
@jaypipes jaypipes marked this pull request as ready for review January 15, 2024 20:04
@jaypipes jaypipes merged commit f2cbad8 into gdt-dev:main Feb 18, 2024
6 checks passed
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.

2 participants