From 313379c109c1a278c1b2402d8c420d5d4385446a Mon Sep 17 00:00:00 2001 From: Andrej Marolt Date: Thu, 26 Sep 2019 04:29:07 +0200 Subject: [PATCH] Change formatting of example-ingress.yaml (#16545) --- .../ingress-minikube.md | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) 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 b56e54f0cc..b44a36501c 100644 --- a/content/en/docs/tasks/access-application-cluster/ingress-minikube.md +++ b/content/en/docs/tasks/access-application-cluster/ingress-minikube.md @@ -142,14 +142,14 @@ The following file is an Ingress resource that sends traffic to your Service via annotations: nginx.ingress.kubernetes.io/rewrite-target: /$1 spec: - rules: - - host: hello-world.info - http: - paths: - - path: /|/(.+) - backend: - serviceName: web - servicePort: 8080 + rules: + - host: hello-world.info + http: + paths: + - path: /|/(.+) + backend: + serviceName: web + servicePort: 8080 1. Create the Ingress resource by running the following command: @@ -232,10 +232,10 @@ The following file is an Ingress resource that sends traffic to your Service via 1. Edit the existing `example-ingress.yaml` and add the following lines: ```yaml - - path: /v2/* - backend: - serviceName: web2 - servicePort: 8080 + - path: /v2/* + backend: + serviceName: web2 + servicePort: 8080 ``` 1. Apply the changes: