From 67287764bebacc867166822807e1e708042f22ea Mon Sep 17 00:00:00 2001 From: Jayson Reis Date: Fri, 12 Aug 2022 03:07:11 +0200 Subject: [PATCH] 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 c53b7d4f83..895b470145 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: