configmap.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. apiVersion: v1
  2. kind: ConfigMap
  3. metadata:
  4. name: traefik-config
  5. namespace: kube-system
  6. data:
  7. middlewares.yaml: |
  8. http:
  9. middlewares:
  10. lanonly:
  11. ipWhiteList:
  12. sourceRange:
  13. - 172.16.69.0/24
  14. octoprint.yaml: |
  15. http:
  16. routers:
  17. octoprint:
  18. rule: Host(`octoprint.lan.jibby.org`)
  19. service: octoprint
  20. middlewares:
  21. - "lanonly"
  22. services:
  23. octoprint:
  24. loadBalancer:
  25. servers:
  26. - url: http://172.16.69.49
  27. pikvm.yaml: |
  28. http:
  29. routers:
  30. pikvm:
  31. rule: Host(`pikvm.lan.jibby.org`)
  32. service: pikvm
  33. middlewares:
  34. - "lanonly"
  35. services:
  36. pikvm:
  37. loadBalancer:
  38. serversTransport: "pikvm"
  39. servers:
  40. - url: https://172.16.69.240
  41. serversTransports:
  42. pikvm:
  43. insecureSkipVerify: true
  44. proxmox.yaml: |
  45. http:
  46. routers:
  47. proxmox:
  48. rule: Host(`proxmox.lan.jibby.org`)
  49. service: proxmox
  50. middlewares:
  51. - "lanonly"
  52. services:
  53. proxmox:
  54. loadBalancer:
  55. serversTransport: "proxmox"
  56. servers:
  57. - url: https://172.16.69.40:8006
  58. serversTransports:
  59. proxmox:
  60. insecureSkipVerify: true