@@ -1015,6 +1015,9 @@ spec:
10151015 - name
10161016 type : object
10171017 type : array
1018+ x-kubernetes-list-map-keys :
1019+ - name
1020+ x-kubernetes-list-type : map
10181021 ingressClassName :
10191022 description : |-
10201023 IngressClassName is the name of the IngressClass this route belongs to.
@@ -1128,6 +1131,9 @@ spec:
11281131 - protocol
11291132 type : object
11301133 type : array
1134+ x-kubernetes-list-map-keys :
1135+ - name
1136+ x-kubernetes-list-type : map
11311137 type : object
11321138 status :
11331139 description : ApisixStatus is the status report for Apisix ingress Resources
@@ -1433,9 +1439,7 @@ spec:
14331439 description : ApisixUpstreamSpec defines the upstream configuration.
14341440 properties :
14351441 discovery :
1436- description : |-
1437- Discovery configures service discovery for the upstream.
1438- Deprecated: no longer supported in standalone mode.
1442+ description : Discovery configures service discovery for the upstream.
14391443 properties :
14401444 args :
14411445 additionalProperties :
@@ -1472,6 +1476,8 @@ spec:
14721476 port :
14731477 description : Port specifies the port number on which the external
14741478 node is accepting traffic.
1479+ maximum : 65535
1480+ minimum : 1
14751481 type : integer
14761482 type :
14771483 description : Type indicates the kind of external node. Can be
@@ -1486,9 +1492,8 @@ spec:
14861492 minItems : 1
14871493 type : array
14881494 healthCheck :
1489- description : |-
1490- HealthCheck defines the active and passive health check configuration for the upstream.
1491- Deprecated: no longer supported in standalone mode.
1495+ description : HealthCheck defines the active and passive health check
1496+ configuration for the upstream.
14921497 properties :
14931498 active :
14941499 description : Active health checks proactively send requests to
@@ -1531,7 +1536,7 @@ spec:
15311536 description : Port sets the upstream port.
15321537 format : int32
15331538 maximum : 65535
1534- minimum : 0
1539+ minimum : 1
15351540 type : integer
15361541 requestHeaders :
15371542 description : RequestHeaders sets the request headers.
@@ -1546,6 +1551,7 @@ spec:
15461551 format : int64
15471552 type : integer
15481553 type :
1554+ default : http
15491555 description : Type is the health check type. Can be `http`,
15501556 ` https` , or `tcp`.
15511557 enum :
@@ -1581,7 +1587,11 @@ spec:
15811587 minimum : 0
15821588 type : integer
15831589 timeout :
1584- description : Timeout sets health check timeout in seconds.
1590+ description : |-
1591+ Timeout sets health check timeout in seconds.
1592+ https://github.com/apache/apisix/blob/0151d9e35bba63d7c316187272d88e19db0be634/apisix/schema_def.lua#L196
1593+ maximum : 254
1594+ minimum : 1
15851595 type : integer
15861596 type : object
15871597 type : object
@@ -1608,9 +1618,14 @@ spec:
16081618 type : integer
16091619 type : object
16101620 type :
1621+ default : http
16111622 description : |-
16121623 Type specifies the type of passive health check.
16131624 Can be `http`, `https`, or `tcp`.
1625+ enum :
1626+ - http
1627+ - https
1628+ - tcp
16141629 type : string
16151630 unhealthy :
16161631 description : Unhealthy defines the conditions under which
@@ -1636,7 +1651,11 @@ spec:
16361651 minimum : 0
16371652 type : integer
16381653 timeout :
1639- description : Timeout sets health check timeout in seconds.
1654+ description : |-
1655+ Timeout sets health check timeout in seconds.
1656+ https://github.com/apache/apisix/blob/0151d9e35bba63d7c316187272d88e19db0be634/apisix/schema_def.lua#L196
1657+ maximum : 254
1658+ minimum : 1
16401659 type : integer
16411660 type : object
16421661 type : object
@@ -1713,9 +1732,8 @@ spec:
17131732 them if they are set on the port level.
17141733 properties :
17151734 discovery :
1716- description : |-
1717- Discovery configures service discovery for the upstream.
1718- Deprecated: no longer supported in standalone mode.
1735+ description : Discovery configures service discovery for the
1736+ upstream.
17191737 properties :
17201738 args :
17211739 additionalProperties :
@@ -1735,9 +1753,8 @@ spec:
17351753 - type
17361754 type : object
17371755 healthCheck :
1738- description : |-
1739- HealthCheck defines the active and passive health check configuration for the upstream.
1740- Deprecated: no longer supported in standalone mode.
1756+ description : HealthCheck defines the active and passive health
1757+ check configuration for the upstream.
17411758 properties :
17421759 active :
17431760 description : Active health checks proactively send requests
@@ -1780,7 +1797,7 @@ spec:
17801797 description : Port sets the upstream port.
17811798 format : int32
17821799 maximum : 65535
1783- minimum : 0
1800+ minimum : 1
17841801 type : integer
17851802 requestHeaders :
17861803 description : RequestHeaders sets the request headers.
@@ -1795,6 +1812,7 @@ spec:
17951812 format : int64
17961813 type : integer
17971814 type :
1815+ default : http
17981816 description : Type is the health check type. Can be `http`,
17991817 ` https` , or `tcp`.
18001818 enum :
@@ -1830,8 +1848,11 @@ spec:
18301848 minimum : 0
18311849 type : integer
18321850 timeout :
1833- description : Timeout sets health check timeout in
1834- seconds.
1851+ description : |-
1852+ Timeout sets health check timeout in seconds.
1853+ https://github.com/apache/apisix/blob/0151d9e35bba63d7c316187272d88e19db0be634/apisix/schema_def.lua#L196
1854+ maximum : 254
1855+ minimum : 1
18351856 type : integer
18361857 type : object
18371858 type : object
@@ -1858,9 +1879,14 @@ spec:
18581879 type : integer
18591880 type : object
18601881 type :
1882+ default : http
18611883 description : |-
18621884 Type specifies the type of passive health check.
18631885 Can be `http`, `https`, or `tcp`.
1886+ enum :
1887+ - http
1888+ - https
1889+ - tcp
18641890 type : string
18651891 unhealthy :
18661892 description : Unhealthy defines the conditions under
@@ -1886,8 +1912,11 @@ spec:
18861912 minimum : 0
18871913 type : integer
18881914 timeout :
1889- description : Timeout sets health check timeout in
1890- seconds.
1915+ description : |-
1916+ Timeout sets health check timeout in seconds.
1917+ https://github.com/apache/apisix/blob/0151d9e35bba63d7c316187272d88e19db0be634/apisix/schema_def.lua#L196
1918+ maximum : 254
1919+ minimum : 1
18911920 type : integer
18921921 type : object
18931922 type : object
@@ -1950,6 +1979,8 @@ spec:
19501979 port :
19511980 description : Port is a Kubernetes Service port.
19521981 format : int32
1982+ maximum : 65535
1983+ minimum : 1
19531984 type : integer
19541985 retries :
19551986 description : |-
@@ -2976,6 +3007,9 @@ spec:
29763007 type : object
29773008 type : object
29783009 type : object
3010+ x-kubernetes-validations :
3011+ - message : exactly one of value or valueFrom must be specified
3012+ rule : has(self.value) != has(self.valueFrom)
29793013 type :
29803014 description : |-
29813015 Type specifies the type of authentication.
@@ -2986,6 +3020,10 @@ spec:
29863020 required :
29873021 - type
29883022 type : object
3023+ x-kubernetes-validations :
3024+ - message : adminKey must be specified when type is AdminKey
3025+ rule : ' self.type == '' AdminKey'' ? has(self.adminKey) :
3026+ true'
29893027 endpoints :
29903028 description : Endpoints specifies the list of control plane
29913029 endpoints.
@@ -3041,6 +3079,8 @@ spec:
30413079 items :
30423080 type : string
30433081 type : array
3082+ required :
3083+ - provider
30443084 type : object
30453085 type : object
30463086 served : true
0 commit comments