ingress.yaml 564 B

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