
* 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>
20 lines
434 B
YAML
20 lines
434 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: ingress-nginx
|
|
spec:
|
|
ingressClassName: nginx
|
|
tls:
|
|
# This assumes tls-secret exists.
|
|
- secretName: tls-secret
|
|
rules:
|
|
- http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
# This assumes http-svc exists and routes to healthy endpoints.
|
|
service:
|
|
name: http-svc
|
|
port:
|
|
number: 80
|