mirror of
https://github.com/dat515-2025/Group-8.git
synced 2026-03-22 15:12:08 +01:00
feat(infrastructure): automatic deploy
This commit is contained in:
16
7project/charts/myapp-chart/templates/rabbitmq-queue.yaml
Normal file
16
7project/charts/myapp-chart/templates/rabbitmq-queue.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
{{- if .Values.worker.mailQueueName }}
|
||||
apiVersion: rabbitmq.com/v1beta1
|
||||
kind: Queue
|
||||
metadata:
|
||||
name: {{ .Values.worker.mailQueueName }}
|
||||
namespace: {{ .Values.rabbitmq.namespace | default "rabbitmq" }}
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
rabbitmqClusterReference:
|
||||
name: {{ .Values.rabbitmq.clusterName | default "rabbitmq" }}
|
||||
namespace: {{ .Values.rabbitmq.namespace | default "rabbitmq" }}
|
||||
name: {{ .Values.worker.mailQueueName }}
|
||||
vhost: {{ .Values.rabbitmq.vhost | default "/" | quote }}
|
||||
durable: true
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user