Fix Ingress resources in docs (#7579)
* fix Ingress resources in docs Signed-off-by: Gerald Pape <gerald@giantswarm.io> * move to ingressClassName * fix more Ingress resource examples * empty commit Signed-off-by: Gerald Pape <gerald@giantswarm.io> * make NOTES.txt aware of version + add notice about ingress version to examples main page * add link to legacy documentation Signed-off-by: Gerald Pape <gerald@giantswarm.io>
This commit is contained in:
parent
b7b2714b69
commit
017e1ecde3
25 changed files with 62 additions and 25 deletions
|
|
@ -22,6 +22,7 @@ spec:
|
|||
# This assumes tls-secret exists and the SSL
|
||||
# certificate contains a CN for foo.bar.com
|
||||
secretName: tls-secret
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: foo.bar.com
|
||||
http:
|
||||
|
|
@ -32,7 +33,7 @@ spec:
|
|||
# This assumes http-svc exists and routes to healthy endpoints
|
||||
service:
|
||||
name: http-svc
|
||||
port:
|
||||
port:
|
||||
number: 80
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ kind: Ingress
|
|||
metadata:
|
||||
name: nginx-test
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- foo.bar.com
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue