Skip to content

Commit

Permalink
YAML code-block within a list bug fixed (#14293) (#14295)
Browse files Browse the repository at this point in the history
  • Loading branch information
pilosus authored and k8s-ci-robot committed May 17, 2019
1 parent 60006e9 commit ac65ac4
Showing 1 changed file with 15 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,23 +135,21 @@ The following file is an Ingress resource that sends traffic to your Service via

1. Create `example-ingress.yaml` from the following file:

```yaml
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: example-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- host: hello-world.info
http:
paths:
- path: /*
backend:
serviceName: web
servicePort: 8080
```
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: example-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- host: hello-world.info
http:
paths:
- path: /*
backend:
serviceName: web
servicePort: 8080

1. Create the Ingress resource by running the following command:

Expand Down

0 comments on commit ac65ac4

Please sign in to comment.