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 zacharysarah
parent facc36fb83
commit 66c0a284e2
+1 -1
View File
@@ -126,7 +126,7 @@ kind: Ingress
metadata:
name: test
annotations:
ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- host: foo.bar.com