add rmq
This commit is contained in:
parent
d72f18570a
commit
405fa110ce
@ -71,3 +71,10 @@ patches:
|
|||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
name: minio
|
name: minio
|
||||||
namespace: minio
|
namespace: minio
|
||||||
|
- path: ./patches/rabbitmq.yaml
|
||||||
|
target:
|
||||||
|
group: helm.toolkit.fluxcd.io
|
||||||
|
version: v2
|
||||||
|
kind: HelmRelease
|
||||||
|
name: rabbitmq
|
||||||
|
namespace: rabbitmq
|
||||||
|
|||||||
42
clusters/yc-k8s-test/infrastructure/patches/rabbitmq.yaml
Normal file
42
clusters/yc-k8s-test/infrastructure/patches/rabbitmq.yaml
Normal 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
|
||||||
@ -6,6 +6,7 @@ resources:
|
|||||||
- dashboard
|
- dashboard
|
||||||
- local-path-provisioner
|
- local-path-provisioner
|
||||||
- minio
|
- minio
|
||||||
|
- rabbitmq
|
||||||
- istio-base
|
- istio-base
|
||||||
- istio-pilot
|
- istio-pilot
|
||||||
- istio-gateway
|
- istio-gateway
|
||||||
|
|||||||
22
infrastructure/rabbitmq/base/helmrelease.yaml
Normal file
22
infrastructure/rabbitmq/base/helmrelease.yaml
Normal 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
|
||||||
6
infrastructure/rabbitmq/base/kustomization.yaml
Normal file
6
infrastructure/rabbitmq/base/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: rabbitmq
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- helmrelease.yaml
|
||||||
6
infrastructure/rabbitmq/base/namespace.yaml
Normal file
6
infrastructure/rabbitmq/base/namespace.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: rabbitmq
|
||||||
|
labels:
|
||||||
|
istio-injection: enabled
|
||||||
4
infrastructure/rabbitmq/kustomization.yaml
Normal file
4
infrastructure/rabbitmq/kustomization.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ./base
|
||||||
Loading…
Reference in New Issue
Block a user