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

api: Add a config option for vm-console-proxy and deprecate the feature gate #1018

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

akrejcir
Copy link
Collaborator

What this PR does / why we need it:
These changes are in this PR:

  • Deprecated the feature gate for vm-console-proxy. It is now ignored.
  • Added a new field .spec.tokenGenerationService to configure if vm-console-proxy should be enabled or not.

Which issue(s) this PR fixes:
Jira: https://issues.redhat.com/browse/CNV-45064

Release note:

- Added a new field: ".spec.tokenGenerationService" to configure if "vm-console-proxy" should be enabled or not.
- Deprecated the feature gate for `vm-console-proxy`. It is now ignored.

@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 Jul 26, 2024
@akrejcir
Copy link
Collaborator Author

/cc @0xFelix @jcanocan @ksimon1

- Deprecated the feature gate for vm-console-proxy. It is now ignored.
- Added a new field .spec.tokenGenerationService to configure
if vm-console-proxy should be enabled or not.

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

sonarcloud bot commented Jul 26, 2024

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 Jul 26, 2024
@codingben
Copy link
Member

codingben commented Jul 28, 2024

/cc @0xFelix @jcanocan @ksimon1

Hi @akrejcir, why you don't cc me also? If I remember correctly, this was my change to add feature gate of vm-console-proxy [1]. Also Tekton operands.

cc @dominikholler

[1] 8551c1d

@akrejcir
Copy link
Collaborator Author

I only thought that pinging 3 reviewers was enough. It wasn't my intention to not mention you.
Of course you can review this, all reviews are helpful.

Good idea to mention people that originally wrote the code that I've changed. I will do that in future PRs.

@akrejcir
Copy link
Collaborator Author

/retest

@jcanocan
Copy link
Contributor

/cc @0xFelix @jcanocan @ksimon1

Hi @akrejcir, why you don't cc me also? If I remember correctly, this was my change to add feature gate of vm-console-proxy [1]. Also Tekton operands.

cc @dominikholler

[1] 8551c1d

@codingben Please add the lgtm tag when you are done with your review.

@codingben
Copy link
Member

codingben commented Jul 29, 2024

/cc @0xFelix @jcanocan @ksimon1

Hi @akrejcir, why you don't cc me also? If I remember correctly, this was my change to add feature gate of vm-console-proxy [1]. Also Tekton operands.
cc @dominikholler
[1] 8551c1d

@codingben Please add the lgtm tag when you are done with your review.

Usually in kubevirt/kubevirt we're waiting to get /lgtm and then asking to get /approve. From my point of view, it's already reviewed.

@akrejcir
Copy link
Collaborator Author

We need both, /lgtm and /approve, otherwise the bot will not merge the PR.
I think, it is done so multiple people have a chance to look at a PR.

@jcanocan
Copy link
Contributor

/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Jul 30, 2024
@kubevirt-bot kubevirt-bot merged commit b787603 into kubevirt:main Jul 30, 2024
11 of 12 checks passed
@akrejcir akrejcir deleted the proxy-config branch July 30, 2024 07:36
akrejcir added a commit to akrejcir/hyperconverged-cluster-operator that referenced this pull request Sep 2, 2024
The token generation API was stabilized in the SSP,
and feature gate was removed:
kubevirt/ssp-operator#1018

This commit removes the same feature gate from HCO,
and adds a new field in the .spec to enable this feature.

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
akrejcir added a commit to akrejcir/hyperconverged-cluster-operator that referenced this pull request Sep 2, 2024
The token generation API was stabilized in the SSP,
and feature gate was removed:
kubevirt/ssp-operator#1018

This commit removes the same feature gate from HCO,
and adds a new field in the .spec to enable this feature.

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
akrejcir added a commit to akrejcir/hyperconverged-cluster-operator that referenced this pull request Sep 2, 2024
The token generation API was stabilized in the SSP,
and feature gate was removed:
kubevirt/ssp-operator#1018

This commit removes the same feature gate from HCO,
and adds a new field in the .spec to enable this feature.

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
akrejcir added a commit to akrejcir/hyperconverged-cluster-operator that referenced this pull request Sep 9, 2024
The token generation API was stabilized in the SSP,
and feature gate was removed:
kubevirt/ssp-operator#1018

This commit removes the same feature gate from HCO,
and adds a new field in the .spec to enable this feature.

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
akrejcir added a commit to akrejcir/hyperconverged-cluster-operator that referenced this pull request Sep 9, 2024
The token generation API was stabilized in the SSP,
and feature gate was removed:
kubevirt/ssp-operator#1018

This commit removes the same feature gate from HCO,
and adds a new field in the .spec to enable this feature.

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
akrejcir added a commit to akrejcir/hyperconverged-cluster-operator that referenced this pull request Sep 10, 2024
The token generation API was stabilized in the SSP,
and feature gate was removed:
kubevirt/ssp-operator#1018

This commit removes the same feature gate from HCO,
and adds a new field in the .spec to enable this feature.

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
akrejcir added a commit to akrejcir/hyperconverged-cluster-operator that referenced this pull request Sep 10, 2024
The token generation API was stabilized in the SSP,
and feature gate was removed:
kubevirt/ssp-operator#1018

This commit removes the same feature gate from HCO,
and adds a new field in the .spec to enable this feature.

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
akrejcir added a commit to akrejcir/hyperconverged-cluster-operator that referenced this pull request Sep 10, 2024
The token generation API was stabilized in the SSP,
and feature gate was removed:
kubevirt/ssp-operator#1018

This commit removes the same feature gate from HCO,
and adds a new field in the .spec to enable this feature.

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
akrejcir added a commit to akrejcir/hyperconverged-cluster-operator that referenced this pull request Oct 1, 2024
The token generation API was stabilized in the SSP,
and feature gate was removed:
kubevirt/ssp-operator#1018

This commit removes the same feature gate from HCO,
and adds a new field in the .spec to enable this feature.

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
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/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants