Skip to content

[release-v1.65] Add open-default-ports annotation to upload server pod#4135

Merged
kubevirt-bot merged 2 commits into
kubevirt:release-v1.65from
kubevirt-bot:cherry-pick-4124-to-release-v1.65
May 14, 2026
Merged

[release-v1.65] Add open-default-ports annotation to upload server pod#4135
kubevirt-bot merged 2 commits into
kubevirt:release-v1.65from
kubevirt-bot:cherry-pick-4124-to-release-v1.65

Conversation

@kubevirt-bot
Copy link
Copy Markdown
Contributor

This is an automated cherry-pick of #4124

/assign RamLavi

Add OVN-Kubernetes open-default-ports annotation to upload server pod to fix uploads in namespaces with network segmentation

RamLavi added 2 commits May 14, 2026 09:34
Replace hardcoded 8443 references in the upload controller with
common.UploadServerPort to prevent silent breakage if the port
ever changes.

Assisted-by: Claude Opus 4.6 <[email protected]>
Signed-off-by: Ram Lavi <[email protected]>
Since the upload service became headless (kubevirt#4052), DNS resolves directly
to the upload server pod IP. In OVN-Kubernetes clusters where the target
namespace uses network segmentation, the pod's default network interface
is locked down. The k8s.ovn.org/open-default-ports annotation opens port
8443 on the default interface, allowing the upload proxy to connect.

The annotation is harmless on non-OVN clusters where it is simply
ignored.

Assisted-by: Claude Opus 4.6 <[email protected]>
Signed-off-by: Ram Lavi <[email protected]>
@kubevirt-bot kubevirt-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. size/S labels May 14, 2026
@RamLavi
Copy link
Copy Markdown
Contributor

RamLavi commented May 14, 2026

@akalenyu can you take a look?

@akalenyu
Copy link
Copy Markdown
Collaborator

/approve
/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label May 14, 2026
@kubevirt-bot
Copy link
Copy Markdown
Contributor Author

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akalenyu

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

The pull request process is described here

Details 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

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 14, 2026
@kubevirt-bot kubevirt-bot merged commit cfa58b8 into kubevirt:release-v1.65 May 14, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants