Skip to content

Commit

Permalink
docs: ApisixRoute v2alpha1 is deprecated (#623)
Browse files Browse the repository at this point in the history
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
  • Loading branch information
tao12345666333 authored Aug 13, 2021
1 parent c1de18f commit 499962b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
4 changes: 3 additions & 1 deletion docs/en/latest/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@
"items": [
"references/apisix_route_v1",
"references/apisix_route_v2alpha1",
"references/apisix_route_v2beta1",
"references/apisix_upstream",
"references/apisix_tls"
"references/apisix_tls",
"references/apisix_apisix_cluster_config"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/en/latest/practices/mtls/route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: apisix.apache.org/v2alpha1
apiVersion: apisix.apache.org/v2beta1
kind: ApisixRoute
metadata:
name: httpserver-route
Expand Down
5 changes: 4 additions & 1 deletion docs/en/latest/practices/the-hard-way.md
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,9 @@ spec:
served: true
storage: false
- name: v2alpha1
served: true
storage: false
- name: v2beta1
served: true
storage: true
scope: Namespaced
Expand Down Expand Up @@ -681,7 +684,7 @@ data:
- "*"
ingress_class: "apisix"
ingress_version: "networking/v1"
apisix_route_version: "apisix.apache.org/v2alpha1"
apisix_route_version: "apisix.apache.org/v2beta1"
apisix:
default_cluster_base_url: "http://apisix-admin.apisix:9180/apisix/admin"
default_cluster_admin_key: "edd1c9f034335f136f87ad84b625c8f1"
Expand Down
2 changes: 1 addition & 1 deletion docs/en/latest/references/apisix_cluster_config.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: ApisixRoute/v2alpha1 Reference
title: ApisixClusterConfig/v2alpha1 Reference
---

<!--
Expand Down
2 changes: 1 addition & 1 deletion docs/en/latest/references/apisix_route_v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ title: ApisixRoute/v1 (Deprecated) Reference
#
-->

**WARNINIG**: `ApisixRoute/v1` is obsolete and will be unsupported in the future, please use `ApisixRoute/v2alpha1`!
**WARNINIG**: `ApisixRoute/v1` is obsolete and will be unsupported in the future, please use `ApisixRoute/v2beta1`!

| Field | Type | Description |
|---------------|----------|----------------------------------------------------|
Expand Down

0 comments on commit 499962b

Please sign in to comment.