mirror of https://github.com/easzlab/kubeasz.git
17 lines
313 B
YAML
17 lines
313 B
YAML
|
apiVersion: extensions/v1beta1
|
||
|
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
|