ingress-nginx-helm/examples/static-ip/nginx-ingress.yaml

21 lines
434 B
YAML
Raw Permalink Normal View History

2021-08-21 20:43:04 +00:00
apiVersion: networking.k8s.io/v1
2018-04-27 00:09:55 +00:00
kind: Ingress
metadata:
name: ingress-nginx
spec:
2021-11-09 15:45:04 +00:00
ingressClassName: nginx
2018-04-27 00:09:55 +00:00
tls:
# This assumes tls-secret exists.
- secretName: tls-secret
rules:
- http:
paths:
2021-11-02 00:13:54 +00:00
- path: /
pathType: Prefix
backend:
2018-04-27 00:09:55 +00:00
# This assumes http-svc exists and routes to healthy endpoints.
2021-11-02 00:13:54 +00:00
service:
name: http-svc
port:
number: 80