Skip to content

Commit

Permalink
fix: make ApisixRouteHTTPBackend support serivce name (#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
tao12345666333 committed Jun 22, 2022
1 parent 3214c69 commit 50d6026
Showing 1 changed file with 24 additions and 18 deletions.
42 changes: 24 additions & 18 deletions samples/deploy/crd/v1/ApisixRoute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,10 @@ spec:
type: string
minLength: 1
servicePort:
type: integer
minimum: 1
maximum: 65535
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
resolveGranularity:
type: string
enum: ["endpoint", "service"]
Expand Down Expand Up @@ -258,9 +259,10 @@ spec:
type: string
minLength: 1
servicePort:
type: integer
minimum: 1
maximum: 65535
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
resolveGranularity:
type: string
enum: ["endpoint", "service"]
Expand Down Expand Up @@ -443,9 +445,10 @@ spec:
type: string
minLength: 1
servicePort:
type: integer
minimum: 1
maximum: 65535
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
resolveGranularity:
type: string
enum: ["endpoint", "service"]
Expand Down Expand Up @@ -531,9 +534,10 @@ spec:
type: string
minLength: 1
servicePort:
type: integer
minimum: 1
maximum: 65535
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
resolveGranularity:
type: string
enum: ["endpoint", "service"]
Expand Down Expand Up @@ -716,9 +720,10 @@ spec:
type: string
minLength: 1
servicePort:
type: integer
minimum: 1
maximum: 65535
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
resolveGranularity:
type: string
enum: ["endpoint", "service"]
Expand Down Expand Up @@ -792,9 +797,10 @@ spec:
type: string
minLength: 1
servicePort:
type: integer
minimum: 1
maximum: 65535
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
resolveGranularity:
type: string
enum: ["endpoint", "service"]
Expand Down

0 comments on commit 50d6026

Please sign in to comment.