From 9fa03cbdf12cea2be1f2a944fe2af0d135ecbec0 Mon Sep 17 00:00:00 2001 From: Qiming Teng Date: Mon, 12 Oct 2020 11:17:08 +0800 Subject: [PATCH] Move example-ingress.yaml The commit (a79db9d5de5ab44ed350edc6050add9e807d0c13) made the sample YAML for Ingress a standalone file, but it was placed into a NEW `examples/ingress` directory. This PR moves it to `examples/service/networking` subdirectory where all other Ingress examples are located. Having a single file under a dedicated directory seems not good. --- .../docs/tasks/access-application-cluster/ingress-minikube.md | 4 ++-- .../{ingress => service/networking}/example-ingress.yaml | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename content/en/examples/{ingress => service/networking}/example-ingress.yaml (100%) diff --git a/content/en/docs/tasks/access-application-cluster/ingress-minikube.md b/content/en/docs/tasks/access-application-cluster/ingress-minikube.md index 95c206b959..5b3fd114b0 100644 --- a/content/en/docs/tasks/access-application-cluster/ingress-minikube.md +++ b/content/en/docs/tasks/access-application-cluster/ingress-minikube.md @@ -132,12 +132,12 @@ The following file is an Ingress resource that sends traffic to your Service via 1. Create `example-ingress.yaml` from the following file: - {{< codenew file="ingress/example-ingress.yaml" >}} + {{< codenew file="service/networking/example-ingress.yaml" >}} 1. Create the Ingress resource by running the following command: ```shell - kubectl apply -f https://k8s.io/examples/ingress/example-ingress.yaml + kubectl apply -f https://k8s.io/examples/service/networking/example-ingress.yaml ``` Output: diff --git a/content/en/examples/ingress/example-ingress.yaml b/content/en/examples/service/networking/example-ingress.yaml similarity index 100% rename from content/en/examples/ingress/example-ingress.yaml rename to content/en/examples/service/networking/example-ingress.yaml