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:
parent
414c31965a
commit
642bff9143
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue