-
Notifications
You must be signed in to change notification settings - Fork 158
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
fix(feature): ensures all new resources are created in one reconcile #1159
fix(feature): ensures all new resources are created in one reconcile #1159
Conversation
Manifests used by Feature to create cluster resources can be either defined as a single resource per file or grouped together and separated using the `---` delimiter. Even though the former approach is currently preferred across the codebase, the latter is used to create Envoy filters for the KServe setup. When applying resources not yet present in the cluster, the original implementation returns after creating the first resource, leaving the rest unprocessed. They are applied in the next reconcile loop, though again on a one-per-reconcile event basis. This is not a bug per se, as it will eventually result in creating all resources; however, it is suboptimal. This change ensures all resources defined in a single YAML manifest, separated using `---`, are processed in a single go.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ykaliuta, zdtsw The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@zdtsw prow is borked? |
seems so, lets get it a rest and try again later today |
/retest |
959643d
into
opendatahub-io:incubation
@zdtsw a review was needed from me? |
More on the reference side @israel-hdez since it is related to kserve |
…ed-hat-data-services#1159) Manifests used by Feature to create cluster resources can be either defined as a single resource per file or grouped together and separated using the `---` delimiter. Even though the former approach is currently preferred across the codebase, the latter is used to create Envoy filters for the KServe setup. When applying resources not yet present in the cluster, the original implementation returns after creating the first resource, leaving the rest unprocessed. They are applied in the next reconcile loop, though again on a one-per-reconcile event basis. This is not a bug per se, as it will eventually result in creating all resources; however, it is suboptimal. This change ensures all resources defined in a single YAML manifest, separated using `---`, are processed in a single go. (cherry picked from commit 959643d)
…1159) Manifests used by Feature to create cluster resources can be either defined as a single resource per file or grouped together and separated using the `---` delimiter. Even though the former approach is currently preferred across the codebase, the latter is used to create Envoy filters for the KServe setup. When applying resources not yet present in the cluster, the original implementation returns after creating the first resource, leaving the rest unprocessed. They are applied in the next reconcile loop, though again on a one-per-reconcile event basis. This is not a bug per se, as it will eventually result in creating all resources; however, it is suboptimal. This change ensures all resources defined in a single YAML manifest, separated using `---`, are processed in a single go. (cherry picked from commit 959643d)
…flux/component-updates/odh-trustyai-service-operator-v2-17 chore(deps): update odh-trustyai-service-operator-v2-17 to 0ec163c
Description
Manifests used by Feature to create cluster resources can be either defined as a single resource per file or grouped together and separated using the
---
delimiter. Even though the former approach is currently preferred across the codebase, the latter is used to create Envoy filters for the KServe setup.When applying resources not yet present in the cluster, the original implementation returns after creating the first resource, leaving the rest unprocessed. They are applied in the next reconcile loop, though again on a one-per-reconcile event basis. This is not a bug per se, as it will eventually result in creating all resources; however, it is suboptimal.
This change ensures all resources defined in a single YAML manifest, separated using
---
, are processed in a single go.How Has This Been Tested?
Enhanced integration test, which, when executed without this patch, fails due to described issue.
Screenshot or short clip
Merge criteria