You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by to...@apache.org on 2022/08/12 01:07:16 UTC
[apisix-ingress-controller] branch master updated: docs: Fix typo on plugin config name (#1241)
This is an automated email from the ASF dual-hosted git repository.
tokers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
The following commit(s) were added to refs/heads/master by this push:
new 67287764 docs: Fix typo on plugin config name (#1241)
67287764 is described below
commit 67287764bebacc867166822807e1e708042f22ea
Author: Jayson Reis <sa...@gmail.com>
AuthorDate: Fri Aug 12 03:07:11 2022 +0200
docs: Fix typo on plugin config name (#1241)
---
docs/en/latest/concepts/annotations.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/en/latest/concepts/annotations.md b/docs/en/latest/concepts/annotations.md
index c53b7d4f..895b4701 100644
--- a/docs/en/latest/concepts/annotations.md
+++ b/docs/en/latest/concepts/annotations.md
@@ -210,13 +210,13 @@ Use ApisixPluginConfig
You can use the following annotations to use the `ApisixPluginConfig`.
-* `k8s.apisix.apache.org/plugin-conifg-name`
+* `k8s.apisix.apache.org/plugin-config-name`
If this annotations set to `ApisixPluginConfig.metadata.name` the route will use `ApisixPluginConfig`
ApisixPluginConfig is a resource under the same Namespace as Ingress
-As an example, we attach the annotation `k8s.apisix.apache.org/plugin-conifg-name: "echo-and-cors-apc` for the following Ingress resource, so that `/api/*` route will enable the [echo](https://apisix.apache.org/docs/apisix/plugins/echo/) and [cors](https://apisix.apache.org/docs/apisix/plugins/cors/) plugins.
+As an example, we attach the annotation `k8s.apisix.apache.org/plugin-config-name: "echo-and-cors-apc` for the following Ingress resource, so that `/api/*` route will enable the [echo](https://apisix.apache.org/docs/apisix/plugins/echo/) and [cors](https://apisix.apache.org/docs/apisix/plugins/cors/) plugins.
```yaml
apiVersion: apisix.apache.org/v2
@@ -242,7 +242,7 @@ kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: apisix
- k8s.apisix.apache.org/plugin-conifg-name: "echo-and-cors-apc"
+ k8s.apisix.apache.org/plugin-config-name: "echo-and-cors-apc"
name: ingress-v1
spec:
rules: