-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🐛 Use namespace of the reference on external.Get #11361
base: main
Are you sure you want to change the base?
🐛 Use namespace of the reference on external.Get #11361
Conversation
3a8f8ac
to
a41b03c
Compare
57a16af
to
d970a70
Compare
7672253
to
edbd553
Compare
511364f
to
b03866f
Compare
/test pull-cluster-api-e2e-mink8s-main |
/test pull-cluster-api-e2e-mink8s-main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx, one nit
(if e2e tests work)
/test pull-cluster-api-e2e-main |
b03866f
to
7f1a57e
Compare
/test pull-cluster-api-e2e-main |
New changes are detected. LGTM label has been removed. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
/hold just for a bit until #11364 is merged. Just want to avoid rebases on 11364 (shouldn't take too long) |
366191c
to
3d1a454
Compare
/test pull-cluster-api-e2e-main |
3d1a454
to
5d8c1aa
Compare
/test pull-cluster-api-e2e-main |
It seems e2e are now passing @sbueringer, WDYT? |
We might need a rebase after #11393 merged |
c0c10ff
to
281ccdf
Compare
/hold cancel I'll take another look soon |
I addressed additional e2e test coverage in #11395 based on combined changes and this PR. Hope it helps in review. |
Pretty far up in my review TODO list now. @Danil-Grigorev Can you please rebase? |
Signed-off-by: Danil-Grigorev <[email protected]>
Signed-off-by: Danil-Grigorev <[email protected]>
Signed-off-by: Danil-Grigorev <[email protected]>
Signed-off-by: Danil-Grigorev <[email protected]>
Signed-off-by: Danil-Grigorev <[email protected]>
Signed-off-by: Danil-Grigorev <[email protected]>
281ccdf
to
6969124
Compare
@Danil-Grigorev: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
/test pull-cluster-api-e2e-main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
What this PR does / why we need it:
Using
external.Get
method may be problematic when the resources referenced are located in a different namespace from the originating resource, leading to not found errors on the lookup attempts.Template definitions provide all information, including namespace of the object in the references, so using those instead.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Related to #5673
/area clusterclass
/area api