This commit is contained in:
Kochetkov S 2026-04-09 14:11:10 +03:00
parent d72f18570a
commit 405fa110ce
7 changed files with 88 additions and 0 deletions

View File

@ -71,3 +71,10 @@ patches:
kind: HelmRelease
name: minio
namespace: minio
- path: ./patches/rabbitmq.yaml
target:
group: helm.toolkit.fluxcd.io
version: v2
kind: HelmRelease
name: rabbitmq
namespace: rabbitmq

View File

@ -0,0 +1,42 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: rabbitmq
namespace: rabbitmq
spec:
interval: 5m
timeout: 10m
values:
virtualService:
rabbitmq:
hosts:
- rabbitmq.contour.infra.sarex.tech
gateway:
grafana:
servers:
- hosts:
- rabbitmq.contour.infra.sarex.tech
port:
name: https-443
number: 443
protocol: HTTPS
tls:
credentialName: rmq-tls
mode: SIMPLE
- hosts:
- rabbitmq.contour.infra.sarex.tech
port:
name: http-80
number: 80
protocol: HTTP
certificate:
rabbitmq:
dnsNames:
- rabbitmq.contour.infra.sarex.tech
replicaCount: 1
resources:
requests:
memory: 1Gi
persistence:
storageClass: local-path
size: 10Gi

View File

@ -6,6 +6,7 @@ resources:
- dashboard
- local-path-provisioner
- minio
- rabbitmq
- istio-base
- istio-pilot
- istio-gateway

View File

@ -0,0 +1,22 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: rabbitmq
namespace: rabbitmq
spec:
interval: 10m
chart:
spec:
chart: rabbitmq-contour
version: "15.2.2"
sourceRef:
kind: HelmRepository
name: yc-oci-charts
namespace: flux-system
interval: 10m
install:
remediation:
retries: 3
upgrade:
remediation:
retries: 3

View File

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: rabbitmq
resources:
- namespace.yaml
- helmrelease.yaml

View File

@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: rabbitmq
labels:
istio-injection: enabled

View File

@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./base