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

Gateway API class selector in K8s Gateway Istio config wizard #6585

Merged
merged 2 commits into from Sep 12, 2023

Conversation

hhovsepy
Copy link
Contributor

@hhovsepy hhovsepy commented Sep 7, 2023

Issue #6429

When there are more than 2 Gateway classes configured in Kiali CR

        gateway_api_classes:
          - name: Istio
            class_name: istio
          - name: Contour
            class_name: contour

In both wizards, Kiali Service -> Create K8s Gateway API Routing and Istio Config -> Create K8s Gateway, it appears dropdown to select the Gateway API implementation:

Screenshot from 2023-09-07 18-37-57
Screenshot from 2023-09-08 19-36-53

@hhovsepy hhovsepy self-assigned this Sep 8, 2023
@hhovsepy hhovsepy marked this pull request as ready for review September 8, 2023 17:43
Copy link
Collaborator

@jshaughn jshaughn left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@@ -64,6 +64,7 @@ const propsToShow = [
'authStrategy',
'clusters',
'gatewayAPIEnabled',
'gatewayAPIClasses',
Copy link
Collaborator

Choose a reason for hiding this comment

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

trivial - alphabetized out of order in a few places (not a blocker, can fix in some other PR)

@@ -174,6 +186,20 @@ export class K8sGatewaySelector extends React.Component<Props, K8sGatewaySelecto
)}
{this.state.newGateway && (
<>
{serverConfig.gatewayAPIClasses.length > 1 && (
Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess another option would be to always display this so that the user can see the set value. But this approach is fine as well, not a blocker.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I made the Gateway Classes available in Debug info.

@hhovsepy hhovsepy merged commit 405c6ef into kiali:master Sep 12, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants