ingress.yaml 862 B

123456789101112131415161718192021222324252627282930
  1. apiVersion: networking.k8s.io/v1
  2. kind: Ingress
  3. metadata:
  4. name: metube
  5. annotations:
  6. cert-manager.io/cluster-issuer: letsencrypt
  7. nginx.ingress.kubernetes.io/ssl-redirect: "false"
  8. nginx.ingress.kubernetes.io/whitelist-source-range: "10.0.0.0/8,192.168.0.0/16"
  9. nginx.ingress.kubernetes.io/proxy-connect-timeout: "3600"
  10. nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
  11. nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
  12. nginx.ingress.kubernetes.io/proxy-timeout: "3600"
  13. spec:
  14. ingressClassName: nginx
  15. tls:
  16. - hosts:
  17. - metube.home.wugi.info
  18. secretName: metube-home-wugi-info-ingress-certs
  19. rules:
  20. - host: metube.home.wugi.info
  21. http:
  22. paths:
  23. - path: /
  24. pathType: ImplementationSpecific
  25. backend:
  26. service:
  27. name: metube
  28. port:
  29. number: 80