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

chore: Update vm-console-proxy to v0.7.0 #1135

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

akrejcir
Copy link
Collaborator

What this PR does / why we need it:

  • Updated vm-console-proxy to v0.7.0.
  • Propagate TLS configuration to vm-console-proxy.

Release note:

Updated vm-console-proxy to v0.7.0

@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. labels Nov 15, 2024
@akrejcir
Copy link
Collaborator Author

/cc @0xFelix @codingben @jcanocan

@0xFelix
Copy link
Member

0xFelix commented Nov 18, 2024

Failures look related

Copy link
Member

@0xFelix 0xFelix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 0xFelix

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 /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 Nov 19, 2024
@@ -141,12 +146,21 @@ func (v *vmConsoleProxy) Reconcile(request *common.Request) ([]common.ReconcileR
return nil, err
}

var cleanupResults []common.CleanupResult
oldApiServiceCleanup, err := deleteOldApiService(request)
Copy link
Member

@ksimon1 ksimon1 Nov 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about the v1.token.kubevirt.io APIService, is it somewhere deleted?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's deleted in Cleanup() method, on line 234:

	objectsToDelete = append(objectsToDelete,
		v.clusterRoleBinding.DeepCopy(),
		v.roleBinding.DeepCopy(),
		v.apiService.DeepCopy())

	cleanupResults, err := common.DeleteAll(request, objectsToDelete...)

@akrejcir
Copy link
Collaborator Author

I've noticed the old API service is not deleted on Cleanup()

/hold

@kubevirt-bot kubevirt-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 20, 2024
This version increased API version to v1.

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
The TLS for vm-console-proxy can be configured
in the ConfigMap that the project reads.

This commit writes a configuration file to the ConfigMap
based on the TLS configuration in the SSP object.

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
Copy link

@akrejcir
Copy link
Collaborator Author

/unhold

@kubevirt-bot kubevirt-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 20, 2024
@jcanocan
Copy link
Contributor

/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 20, 2024
@kubevirt-bot kubevirt-bot merged commit 93d3e75 into kubevirt:main Nov 20, 2024
12 checks passed
@akrejcir akrejcir deleted the update-vm-proxy branch November 21, 2024 07:13
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/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants