ingress.yaml 505 B

12345678910111213141516171819
  1. apiVersion: traefik.containo.us/v1alpha1
  2. kind: IngressRoute
  3. metadata:
  4. name: kubernets-server-ingress
  5. namespace: kubernetes-dashboard
  6. annotations:
  7. traefik.ingress.kubernetes.io/router.entrypoints: web, websecure
  8. traefik.ingress.kubernetes.io/ssl-redirect: "true"
  9. spec:
  10. entryPoints:
  11. - websecure
  12. routes:
  13. - match: Host(`kubernetes.monteasua.com.br`)
  14. kind: Rule
  15. services:
  16. - name: kubernetes-dashboard
  17. port: 443
  18. tls:
  19. secretName: monteasua-com-br-tls