21 lines
545 B
YAML
21 lines
545 B
YAML
{{- range .Values.queues }}
|
|||
|
|
---
|
||
|
|
apiVersion: kmsvc.io/v1alpha1
|
||
|
|
kind: Queue
|
||
|
|
metadata:
|
||
|
|
name: {{ .name }}
|
||
|
|
namespace: {{ $.Values.namespace }}
|
||
|
|
labels:
|
||
|
|
app: memory-service
|
||
|
|
queue: dlq
|
||
|
|
spec:
|
||
|
|
name: {{ .name }}
|
||
|
|
description: {{ .description }}
|
||
|
|
partitions: {{ .partitions }}
|
||
|
|
replicationFactor: {{ .replicationFactor }}
|
||
|
|
config:
|
||
|
|
retention.ms: "{{ .config.retention.ms }}"
|
||
|
|
message.retention.seconds: "{{ .config.message.retention.seconds }}"
|
||
|
|
visibility.timeout.seconds: "{{ .config.visibility.timeout.seconds }}"
|
||
|
|
{{- end }}
|