ingress.yaml 579 B

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