You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by tr...@apache.org on 2025/10/21 09:46:04 UTC
(apisix-ingress-controller) branch fix-docs-crd created (now bf0cbf2d)
This is an automated email from the ASF dual-hosted git repository.
traky pushed a change to branch fix-docs-crd
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
at bf0cbf2d remove a link from crd docs
This branch includes the following new commits:
new bf0cbf2d remove a link from crd docs
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(apisix-ingress-controller) 01/01: remove a link from crd docs
Posted by tr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
traky pushed a commit to branch fix-docs-crd
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
commit bf0cbf2d4b42537d60b23a311ebf6903100aeb93
Author: traky <tr...@gmail.com>
AuthorDate: Tue Oct 21 17:45:51 2025 +0800
remove a link from crd docs
---
api/v2/apisixupstream_types.go | 2 --
.../crd/bases/apisix.apache.org_apisixupstreams.yaml | 18 ++++++------------
docs/en/latest/reference/api-reference.md | 4 ++--
3 files changed, 8 insertions(+), 16 deletions(-)
diff --git a/api/v2/apisixupstream_types.go b/api/v2/apisixupstream_types.go
index 72327cb5..11c3bcde 100644
--- a/api/v2/apisixupstream_types.go
+++ b/api/v2/apisixupstream_types.go
@@ -314,8 +314,6 @@ type PassiveHealthCheckUnhealthy struct {
// TCPFailures define the number of TCP failures to define an unhealthy target.
TCPFailures int `json:"tcpFailures,omitempty" yaml:"tcpFailures,omitempty"`
// Timeout sets health check timeout in seconds.
- // https://github.com/apache/apisix/blob/0151d9e35bba63d7c316187272d88e19db0be634/apisix/schema_def.lua#L196
- //
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=254
Timeouts int `json:"timeout,omitempty" yaml:"timeout,omitempty"`
diff --git a/config/crd/bases/apisix.apache.org_apisixupstreams.yaml b/config/crd/bases/apisix.apache.org_apisixupstreams.yaml
index 45023e7c..2c840b97 100644
--- a/config/crd/bases/apisix.apache.org_apisixupstreams.yaml
+++ b/config/crd/bases/apisix.apache.org_apisixupstreams.yaml
@@ -190,9 +190,7 @@ spec:
minimum: 0
type: integer
timeout:
- description: |-
- Timeout sets health check timeout in seconds.
- https://github.com/apache/apisix/blob/0151d9e35bba63d7c316187272d88e19db0be634/apisix/schema_def.lua#L196
+ description: Timeout sets health check timeout in seconds.
maximum: 254
minimum: 1
type: integer
@@ -254,9 +252,7 @@ spec:
minimum: 0
type: integer
timeout:
- description: |-
- Timeout sets health check timeout in seconds.
- https://github.com/apache/apisix/blob/0151d9e35bba63d7c316187272d88e19db0be634/apisix/schema_def.lua#L196
+ description: Timeout sets health check timeout in seconds.
maximum: 254
minimum: 1
type: integer
@@ -451,9 +447,8 @@ spec:
minimum: 0
type: integer
timeout:
- description: |-
- Timeout sets health check timeout in seconds.
- https://github.com/apache/apisix/blob/0151d9e35bba63d7c316187272d88e19db0be634/apisix/schema_def.lua#L196
+ description: Timeout sets health check timeout in
+ seconds.
maximum: 254
minimum: 1
type: integer
@@ -515,9 +510,8 @@ spec:
minimum: 0
type: integer
timeout:
- description: |-
- Timeout sets health check timeout in seconds.
- https://github.com/apache/apisix/blob/0151d9e35bba63d7c316187272d88e19db0be634/apisix/schema_def.lua#L196
+ description: Timeout sets health check timeout in
+ seconds.
maximum: 254
minimum: 1
type: integer
diff --git a/docs/en/latest/reference/api-reference.md b/docs/en/latest/reference/api-reference.md
index 8e225bcb..933c566b 100644
--- a/docs/en/latest/reference/api-reference.md
+++ b/docs/en/latest/reference/api-reference.md
@@ -661,7 +661,7 @@ UpstreamActiveHealthCheckHealthy defines the conditions used to actively determi
| `httpCodes` _integer array_ | HTTPCodes define a list of HTTP status codes that are considered unhealthy. |
| `httpFailures` _integer_ | HTTPFailures define the number of HTTP failures to define an unhealthy target. |
| `tcpFailures` _integer_ | TCPFailures define the number of TCP failures to define an unhealthy target. |
-| `timeout` _integer_ | Timeout sets health check timeout in seconds. https://github.com/apache/apisix/blob/0151d9e35bba63d7c316187272d88e19db0be634/apisix/schema_def.lua#L196 |
+| `timeout` _integer_ | Timeout sets health check timeout in seconds. |
| `interval` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#duration-v1-meta)_ | Interval defines the time interval for checking targets, in seconds. |
@@ -1528,7 +1528,7 @@ UpstreamPassiveHealthCheckUnhealthy defines the conditions used to passively det
| `httpCodes` _integer array_ | HTTPCodes define a list of HTTP status codes that are considered unhealthy. |
| `httpFailures` _integer_ | HTTPFailures define the number of HTTP failures to define an unhealthy target. |
| `tcpFailures` _integer_ | TCPFailures define the number of TCP failures to define an unhealthy target. |
-| `timeout` _integer_ | Timeout sets health check timeout in seconds. https://github.com/apache/apisix/blob/0151d9e35bba63d7c316187272d88e19db0be634/apisix/schema_def.lua#L196 |
+| `timeout` _integer_ | Timeout sets health check timeout in seconds. |
_Appears in:_