This is an automated email from the ASF dual-hosted git repository.
zhangjintao pushed a commit to branch v1.6.0
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
The following commit(s) were added to refs/heads/v1.6.0 by this push:
new c4ba664d docs: add example link. (#1582)
c4ba664d is described below
commit c4ba664d30e4598be2c9f65b24d178436b79b363
Author: Kevin <[email protected]>
AuthorDate: Wed Jan 4 14:26:41 2023 +0800
docs: add example link. (#1582)
---
docs/en/latest/tutorials/mtls.md | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/docs/en/latest/tutorials/mtls.md b/docs/en/latest/tutorials/mtls.md
index 605926ad..1b7e334e 100644
--- a/docs/en/latest/tutorials/mtls.md
+++ b/docs/en/latest/tutorials/mtls.md
@@ -107,7 +107,9 @@ In APISIX Ingress Controller, we use
[ApisixTls](../concepts/apisix_tls.md) reso
ApisixTls requires a secret which field `cert` and `key` contains the
certificate and private key.
-A secret yaml containing the certificate mentioned above [is
here](https://github.com/apache/apisix-ingress-controller/blob/master/docs/en/latest/tutorials/mtls/server-secret.yaml).
In this guide, we use this as an example.
+The keys and certificates used in the examples [are
here](https://github.com/apache/apisix-ingress-controller/tree/master/docs/en/latest/tutorials/mtls).
+
+In this guide, we use this as an example.
```bash
kubectl apply -f ./mtls/server-secret.yaml -n default
@@ -156,6 +158,8 @@ Now, we configured SSL successfully.
Like `server-secret`, we will create a `client-ca-secret` to store the CA that
verify the certificate client presents.
+The keys and certificates used in the examples [are
here](https://github.com/apache/apisix-ingress-controller/tree/master/docs/en/latest/tutorials/mtls).
+
```bash
kubectl apply -f ./mtls/client-ca-secret.yaml -n default
```
@@ -202,6 +206,8 @@ That means our mutual authentication has been enabled
successfully.
Now, we need to transfer our client cert to the APISIX container to verify the
mTLS functionality.
+The keys and certificates used in the examples [are
here](https://github.com/apache/apisix-ingress-controller/tree/master/docs/en/latest/tutorials/mtls).
+
```bash
# Transfer client certificate
kubectl -n apisix cp ./user.key <APISIX_POD_NAME>:/tmp/user.key