-
Notifications
You must be signed in to change notification settings - Fork 47
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.5.0 #916
Conversation
Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
@@ -142,5 +144,10 @@ func validateBundle(bundle *Bundle) error { | |||
if len(missingFields) > 0 { | |||
return fmt.Errorf("bundle is missing these objects: %v", missingFields) | |||
} | |||
|
|||
if len(bundle.ClusterRoles) != 2 { |
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.
Do we need to hardcode this check here?
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.
No. I wanted to be explicit, that there should be 2 roles.
I will make the code more generic.
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.
I've just removed the condition. Making the code more generic is maybe a task for a future PR.
cc00fbe
to
6044bd7
Compare
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.
/approve
Thanks looks good to me.
[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 |
/retest |
The latest vm-console-proxy contains a new cluster role. Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
6044bd7
to
ef0be76
Compare
Quality Gate passedIssues Measures |
/cc @jcanocan |
Great work @akrejcir ! |
What this PR does / why we need it:
Updated
vm-console-proxy
to versionv0.5.0
, and changed code to support multipleClusterRoles
.Release note: