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

[cherry-pick] fix: adds network policies to unblock traffic between components (#145) #152

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

terrytangyuan
Copy link
Member

Cherry-picks #145 to release branch.

…ndatahub-io#145)

* chore: renames variables to reflect actual objects

most of them are called existing/desiredPod even though they are of different type.

Most likely copy-pastie mistake

* chore: swaps ginkgo to v2 across the tests

* fix: adds network policies to unblock traffic between components

This solution is based on an initially proposed [script](https://github.com/bartoszmajsak/issue-work-logs/tree/main/RHOAIENG-1003), but with slightly modified namespace selectors.

Additional changes:

- bumps ginkgo to v2 across the tests
- provides composed matcher to easily inspect nested structs
- cleans up test setup for KServe
- renames variables in reconcilers to reflect actual objects used

Fixes https://issues.redhat.com/browse/RHOAIENG-1955

* fix(deps): pins ginkgo to version compatible with go1.19

* chore: moves assertion to Eventually check

and aligns timeouts across the calls

* chore: fixes wording in godoc

* chore: uses KServeNamespace var instead of custom func+struct field

* chore: simplifies name generation

* Revert "chore: swaps ginkgo to v2 across the tests"

This reverts commit d5078aa.
Copy link
Contributor

openshift-ci bot commented Jan 19, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: terrytangyuan
Once this PR has been reviewed and has the lgtm label, please assign xaenalt for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Jooho
Copy link
Contributor

Jooho commented Jan 19, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jan 19, 2024
@Jooho Jooho merged commit 974b7f8 into opendatahub-io:release-0.11.1 Jan 19, 2024
3 of 5 checks passed
@terrytangyuan terrytangyuan deleted the cp-np-change branch January 19, 2024 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants