feat(helm): add ingress configuration and TLS certificate for RabbitMQ

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-02-25 15:40:51 +08:00
parent 386af8041b
commit 0caa83bd0a
2 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,13 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: alpha.rabbitmq.freeleaps.mathmast.com-cert
namespace: freeleaps-alpha
spec:
commonName: alpha.rabbitmq.freeleaps.mathmast.com
dnsNames:
- alpha.rabbitmq.freeleaps.mathmast.com
issuerRef:
name: mathmast-dot-com
kind: ClusterIssuer
secretName: alpha.rabbitmq.freeleaps.mathmast.com-cert

View File

@ -317,4 +317,12 @@ metrics:
summary: Too many connections (instance {{ "{{ $labels.instance }}" }})
description: |
RabbitMQ instance has too many connections (> 1000)
VALUE = {{ "{{ $value }}" }}\n LABELS: {{ "{{ $labels }}" }}
VALUE = {{ "{{ $value }}" }}\n LABELS: {{ "{{ $labels }}" }}
ingress:
enabled: true
path: /
pathType: ImplementationSpecific
hostname: alpha.rabbitmq.freeleaps.mathmast.com
tls: true
existingSecret: "alpha.rabbitmq.freeleaps.mathmast.com-cert"
ingressClassName: "nginx"