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

[wip][downstream-test] Fix network status annotation to k8s.v1.cni.cncf.io/network-status #118

Conversation

andreaskaris
Copy link
Contributor

Use the correct annotation string k8s.v1.cni.cncf.io/network-status directly from k8snetworkplumbingwg/network-attachment-definition-client

Signed-off-by: Andreas Karis ak.karis@gmail.com
(cherry picked from commit a0bbb1d)

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer (optional):

Use the correct annotation string k8s.v1.cni.cncf.io/network-status
directly from k8snetworkplumbingwg/network-attachment-definition-client

Signed-off-by: Andreas Karis <ak.karis@gmail.com>
(cherry picked from commit a0bbb1d)
@openshift-ci openshift-ci bot requested review from aneeshkp and dcbw March 15, 2023 14:07
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 15, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: andreaskaris
Once this PR has been reviewed and has the lgtm label, please assign maiqueb 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

@andreaskaris andreaskaris changed the title Fix network status annotation to k8s.v1.cni.cncf.io/network-status [wip][downstream-test] Fix network status annotation to k8s.v1.cni.cncf.io/network-status Mar 15, 2023
@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 Mar 15, 2023
Signed-off-by: Andreas Karis <ak.karis@gmail.com>
(cherry picked from commit 2e24269)
Signed-off-by: Andreas Karis <ak.karis@gmail.com>
The podInformerFactory uses filter key spec.nodeName to filter the pods
that it should monitor. Up until now, this filter was set to the value
of HOSTNAME. However, this is not reliable, as spec.nodeName can be
overridden in kubernetes with --hostname-override and thus HOSTNAME and
spec.nodeName do not necessarily always match. Instead, rely on a new
custom environment variable NODENAME which is populated by the downward
API.

Signed-off-by: Andreas Karis <ak.karis@gmail.com>
(cherry picked from commit ef409bb)
@andreaskaris andreaskaris force-pushed the OCPBUGS-10328-downstream-testb branch from 123c41e to f3129bf Compare March 20, 2023 09:56
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 20, 2023

@andreaskaris: all tests passed!

Full PR test history. Your PR dashboard.

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/test-infra repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant