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.pull/8070/head
parent
414c31965a
commit
642bff9143
docs/concepts/services-networking
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue