values.yaml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. replicaCount: 3
  2. image:
  3. repository: rabbitmq
  4. tag: 3.9-management
  5. pullPolicy: IfNotPresent
  6. resources: {}
  7. nodeSelector: {}
  8. tolerations: []
  9. affinity: |
  10. podAntiAffinity:
  11. requiredDuringSchedulingIgnoredDuringExecution:
  12. - labelSelector:
  13. matchLabels:
  14. app.kubernetes.io/name: rabbitmq-chart
  15. topologyKey: "kubernetes.io/hostname"
  16. persistence:
  17. enabled: true
  18. storageClass: "longhorn"
  19. size: 2Gi
  20. service:
  21. type: LoadBalancer
  22. port: 5672
  23. managementPort: 15672
  24. # optional: annotations to add to the LoadBalancer service (eg. metallb pool selectors)
  25. annotations: {}
  26. # optional: request a specific IP from MetalLB pool (leave empty to auto-assign)
  27. loadBalancerIP: ""
  28. # externalTrafficPolicy: Cluster|Local
  29. externalTrafficPolicy: Cluster
  30. ingress:
  31. enabled: true
  32. host: rabbitmq.irdi.eu
  33. tls: true
  34. tlsSecretName: rabbitmq-tls
  35. clusterIssuer: cluster-issuer-prod
  36. ingressClassName: traefik
  37. rabbitmq:
  38. username: user
  39. password: changeme
  40. mqtt:
  41. enabled: true
  42. port: 1883
  43. # MQTT-specific configuration
  44. exchange: mqtt.topic
  45. # allow anonymous MQTT connections (optional)
  46. allow_anonymous: true
  47. # MQTT vhost to publish into
  48. vhost: /
  49. definitions:
  50. # set to true to create a ConfigMap with definitions.json and mount it into the pod
  51. enabled: true
  52. # Default definitions content (JSON). You can override in your values file with
  53. # a full definitions JSON payload compatible with RabbitMQ management export format.
  54. content:
  55. vhosts:
  56. - name: "/"
  57. exchanges:
  58. - name: "mqtt.topic"
  59. vhost: "/"
  60. type: "topic"
  61. durable: true
  62. auto_delete: false
  63. internal: false
  64. arguments: {}
  65. queues:
  66. - name: "mqtt_queue"
  67. vhost: "/"
  68. durable: true
  69. auto_delete: false
  70. arguments: {"x-ha-policy": "all"}
  71. bindings:
  72. - source: "mqtt.topic"
  73. vhost: "/"
  74. destination: "mqtt_queue"
  75. destination_type: "queue"
  76. routing_key: "#"
  77. arguments: {}