You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/09/23 05:01:15 UTC

[GitHub] [apisix-ingress-controller] mangoGoForward commented on a diff in pull request #1051: feat: support sni based tls route

mangoGoForward commented on code in PR #1051:
URL: https://github.com/apache/apisix-ingress-controller/pull/1051#discussion_r978267105


##########
samples/deploy/crd/v1/ApisixRoute.yaml:
##########
@@ -521,6 +521,8 @@ spec:
                       match:
                         type: object
                         properties:
+                          host:
+                            type: string

Review Comment:
   Done



##########
pkg/kube/apisix/apis/config/v2beta3/types.go:
##########
@@ -217,7 +217,8 @@ type ApisixRouteStream struct {
 type ApisixRouteStreamMatch struct {
 	// IngressPort represents the port listening on the Ingress proxy server.
 	// It should be pre-defined as APISIX doesn't support dynamic listening.
-	IngressPort int32 `json:"ingressPort" yaml:"ingressPort"`
+	IngressPort int32  `json:"ingressPort" yaml:"ingressPort"`
+	Host        string `json:"host,omitempty" yaml:"host,omitempty"`

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org