kubeasz/manifests/ingress/traefik/tls/hello-tls.ing.yaml

17 lines
321 B
YAML
Raw Normal View History

2019-10-19 22:25:42 +08:00
apiVersion: networking.k8s.io/v1beta1
2018-11-30 22:17:17 +08:00
kind: Ingress
metadata:
name: hello-tls-ingress
annotations:
kubernetes.io/ingress.class: traefik
spec:
rules:
- host: hello.test.com
http:
paths:
- backend:
serviceName: test-hello
servicePort: 80
tls:
- secretName: traefik-cert