feat: add option mqtt support, rabbitmq-operator trial
This commit is contained in:
parent
e09a606cf5
commit
596f9c3d13
@ -2,13 +2,14 @@ apiVersion: v2
|
|||||||
name: kubezero-mq
|
name: kubezero-mq
|
||||||
description: KubeZero umbrella chart for MQ systems like NATS, RabbitMQ
|
description: KubeZero umbrella chart for MQ systems like NATS, RabbitMQ
|
||||||
type: application
|
type: application
|
||||||
version: 0.3.0
|
version: 0.3.3
|
||||||
home: https://kubezero.com
|
home: https://kubezero.com
|
||||||
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
||||||
keywords:
|
keywords:
|
||||||
- kubezero
|
- kubezero
|
||||||
- nats
|
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
|
- rabbitmq-cluster-operator
|
||||||
|
- nats
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Stefan Reimer
|
- name: Stefan Reimer
|
||||||
email: stefan@zero-downtime.net
|
email: stefan@zero-downtime.net
|
||||||
@ -21,7 +22,11 @@ dependencies:
|
|||||||
#repository: https://nats-io.github.io/k8s/helm/charts/
|
#repository: https://nats-io.github.io/k8s/helm/charts/
|
||||||
condition: nats.enabled
|
condition: nats.enabled
|
||||||
- name: rabbitmq
|
- name: rabbitmq
|
||||||
version: 11.1.1
|
version: 11.1.5
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
condition: rabbitmq.enabled
|
condition: rabbitmq.enabled
|
||||||
|
- name: rabbitmq-cluster-operator
|
||||||
|
version: 3.1.4
|
||||||
|
repository: https://charts.bitnami.com/bitnami
|
||||||
|
condition: rabbitmq-cluster-operator.enabled
|
||||||
kubeVersion: ">= 1.20.0"
|
kubeVersion: ">= 1.20.0"
|
||||||
|
@ -11,25 +11,27 @@ spec:
|
|||||||
- {{ .Values.rabbitmq.istio.gateway }}
|
- {{ .Values.rabbitmq.istio.gateway }}
|
||||||
hosts:
|
hosts:
|
||||||
{{ toYaml .Values.rabbitmq.hosts | indent 2 }}
|
{{ toYaml .Values.rabbitmq.hosts | indent 2 }}
|
||||||
tcp:
|
http:
|
||||||
- match:
|
- route:
|
||||||
- port: 5672
|
|
||||||
route:
|
|
||||||
- destination:
|
- destination:
|
||||||
host: rabbitmq-headless
|
host: rabbitmq
|
||||||
port:
|
port:
|
||||||
number: 5672
|
number: 15672
|
||||||
|
tcp:
|
||||||
- match:
|
- match:
|
||||||
- port: 5671
|
- port: 5671
|
||||||
route:
|
route:
|
||||||
- destination:
|
- destination:
|
||||||
host: rabbitmq-headless
|
host: rabbitmq
|
||||||
port:
|
port:
|
||||||
number: 5671
|
number: 5672
|
||||||
http:
|
{{- if .Values.rabbitmq.istio.mqtts }}
|
||||||
- route:
|
- match:
|
||||||
|
- port: 8883
|
||||||
|
route:
|
||||||
- destination:
|
- destination:
|
||||||
host: rabbitmq-headless
|
host: rabbitmq
|
||||||
port:
|
port:
|
||||||
number: 15672
|
number: 1883
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -23,6 +23,26 @@ nats:
|
|||||||
# url: "mq.example.com"
|
# url: "mq.example.com"
|
||||||
gateway: istio-ingress/private-ingressgateway
|
gateway: istio-ingress/private-ingressgateway
|
||||||
|
|
||||||
|
# rabbitmq cluster operator
|
||||||
|
rabbitmq-cluster-operator:
|
||||||
|
enabled: false
|
||||||
|
rabbitmqImage:
|
||||||
|
tag: 3.11.4-debian-11-r0
|
||||||
|
|
||||||
|
useCertManager: true
|
||||||
|
|
||||||
|
clusterOperator:
|
||||||
|
metrics:
|
||||||
|
enabled: false
|
||||||
|
serviceMonitor:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
msgTopologyOperator:
|
||||||
|
metrics:
|
||||||
|
enabled: false
|
||||||
|
serviceMonitor:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
# rabbitmq
|
# rabbitmq
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
enabled: false
|
enabled: false
|
||||||
@ -36,6 +56,7 @@ rabbitmq:
|
|||||||
istio:
|
istio:
|
||||||
enabled: false
|
enabled: false
|
||||||
gateway: istio-ingress/private-ingressgateway
|
gateway: istio-ingress/private-ingressgateway
|
||||||
|
mqtts: false
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
existingPasswordSecret: rabbitmq
|
existingPasswordSecret: rabbitmq
|
||||||
@ -47,7 +68,8 @@ rabbitmq:
|
|||||||
existingSecretFullChain: true
|
existingSecretFullChain: true
|
||||||
|
|
||||||
clustering:
|
clustering:
|
||||||
forceBoot: true
|
enabled: false
|
||||||
|
forceBoot: false
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
@ -56,6 +78,9 @@ rabbitmq:
|
|||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
size: 2Gi
|
||||||
|
|
||||||
podAntiAffinityPreset: ""
|
podAntiAffinityPreset: ""
|
||||||
topologySpreadConstraints: |-
|
topologySpreadConstraints: |-
|
||||||
- maxSkew: 1
|
- maxSkew: 1
|
||||||
@ -70,9 +95,9 @@ rabbitmq:
|
|||||||
matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }}
|
matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }}
|
||||||
|
|
||||||
pdb:
|
pdb:
|
||||||
create: true
|
create: false
|
||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
enabled: false
|
enabled: false
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: true
|
||||||
|
Loading…
Reference in New Issue
Block a user