mirror of
https://github.com/dhall-lang/dhall-kubernetes.git
synced 2024-09-11 07:25:47 +03:00
35 lines
763 B
YAML
35 lines
763 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
annotations:
|
|
kubernetes.io/ingress.allow-http: 'false'
|
|
kubernetes.io/ingress.class: nginx
|
|
name: nginx
|
|
spec:
|
|
rules:
|
|
- host: foo.example.com
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: foo
|
|
port:
|
|
number: 80
|
|
pathType: Exact
|
|
- host: default.example.com
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: default
|
|
port:
|
|
number: 80
|
|
pathType: Exact
|
|
tls:
|
|
- hosts:
|
|
- foo.example.com
|
|
secretName: foo-certificate
|
|
- hosts:
|
|
- default.example.com
|
|
secretName: default-certificate
|