Skip to content

feat: generic kubernetes resource usage #2136

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

Merged
merged 16 commits into from
Dec 13, 2023
Merged

Conversation

csviri
Copy link
Collaborator

@csviri csviri commented Dec 1, 2023

This features makes it possible to use GenericKubernetesResource in plain reconciliations also in dependent resources.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 1, 2023
@csviri csviri linked an issue Dec 1, 2023 that may be closed by this pull request
@csviri csviri marked this pull request as ready for review December 1, 2023 14:05
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 1, 2023
@csviri csviri force-pushed the generic-kubernetes-dependent branch from 6591e0d to 8a963e9 Compare December 5, 2023 09:36
Signed-off-by: Attila Mészáros <csviri@gmail.com>
csviri added 11 commits December 5, 2023 10:38
Signed-off-by: Attila Mészáros <csviri@gmail.com>
Signed-off-by: Attila Mészáros <csviri@gmail.com>
Signed-off-by: Attila Mészáros <csviri@gmail.com>
Signed-off-by: Attila Mészáros <csviri@gmail.com>
Signed-off-by: Attila Mészáros <csviri@gmail.com>
Signed-off-by: Attila Mészáros <csviri@gmail.com>
Signed-off-by: Attila Mészáros <csviri@gmail.com>
Signed-off-by: Attila Mészáros <csviri@gmail.com>
Signed-off-by: Attila Mészáros <csviri@gmail.com>
Signed-off-by: Attila Mészáros <csviri@gmail.com>
Signed-off-by: Attila Mészáros <csviri@gmail.com>
@csviri csviri force-pushed the generic-kubernetes-dependent branch from 8a963e9 to 67c571a Compare December 5, 2023 09:38
@csviri csviri self-assigned this Dec 5, 2023
Signed-off-by: Attila Mészáros <csviri@gmail.com>
Signed-off-by: Attila Mészáros <csviri@gmail.com>
Signed-off-by: Attila Mészáros <csviri@gmail.com>
@metacosm
Copy link
Collaborator

Wondering if we should also make generic dependents available via the Context. Otherwise, LGTM.

@csviri
Copy link
Collaborator Author

csviri commented Dec 13, 2023

Wondering if we should also make generic dependents available via the Context. Otherwise, LGTM.

It is available with context.getSecondaryResources(GenericKubernetesResource.class) It might be not ideal, this way, I mean a GVK as param would be nice, (or just that), but using this in a project an it is easy enough to handle this way.

@csviri csviri merged commit 1f9cd4b into next Dec 13, 2023
@csviri csviri deleted the generic-kubernetes-dependent branch December 13, 2023 21:31
csviri added a commit that referenced this pull request Dec 15, 2023

Signed-off-by: Attila Mészáros <csviri@gmail.com>
csviri added a commit that referenced this pull request Jan 8, 2024

Signed-off-by: Attila Mészáros <csviri@gmail.com>
csviri added a commit that referenced this pull request Jan 8, 2024

Signed-off-by: Attila Mészáros <csviri@gmail.com>
csviri added a commit that referenced this pull request Jan 10, 2024

Signed-off-by: Attila Mészáros <csviri@gmail.com>
csviri added a commit that referenced this pull request Jan 10, 2024
Signed-off-by: Attila Mészáros <csviri@gmail.com>
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.

Support GenericKubernetesResource based Dependent Resources
2 participants