Change rewrite annotation in ingress examples (#7520)

Since the default annotation prefix has been changed to "nginx.ingress.kubernetes.io" in nginx ingress controller, the examples in ingress doc should be updated.
This commit is contained in:
pingthere 2018-04-13 06:11:59 +08:00 committed by k8s-ci-robot
parent 414c31965a
commit 642bff9143
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ kind: Ingress
metadata: metadata:
name: test name: test
annotations: annotations:
ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/rewrite-target: /
spec: spec:
rules: rules:
- host: foo.bar.com - host: foo.bar.com