From 0caa83bd0a3641ce18eb713bafeae39376b41952 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Tue, 25 Feb 2025 15:40:51 +0800 Subject: [PATCH] feat(helm): add ingress configuration and TLS certificate for RabbitMQ Signed-off-by: zhenyus --- .../helm-pkg/3rd/rabbitmq/patch/certificate.yaml | 13 +++++++++++++ freeleaps/helm-pkg/3rd/rabbitmq/values.alpha.yaml | 10 +++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 freeleaps/helm-pkg/3rd/rabbitmq/patch/certificate.yaml diff --git a/freeleaps/helm-pkg/3rd/rabbitmq/patch/certificate.yaml b/freeleaps/helm-pkg/3rd/rabbitmq/patch/certificate.yaml new file mode 100644 index 00000000..b4e65ccc --- /dev/null +++ b/freeleaps/helm-pkg/3rd/rabbitmq/patch/certificate.yaml @@ -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 \ No newline at end of file diff --git a/freeleaps/helm-pkg/3rd/rabbitmq/values.alpha.yaml b/freeleaps/helm-pkg/3rd/rabbitmq/values.alpha.yaml index 4769cacd..8dabfcfb 100644 --- a/freeleaps/helm-pkg/3rd/rabbitmq/values.alpha.yaml +++ b/freeleaps/helm-pkg/3rd/rabbitmq/values.alpha.yaml @@ -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 }}" }} \ No newline at end of file + 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"