argocd-helm/charts/argo-events/templates/argo-events-controller/config.yaml
Petr Drastil d2c2055290
feat(argo-events): Upgrade argo-events to v1.7.0 (#1269)
* feat(argo-events) : Upgrade argo-events to v1.7.0

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Fix typos

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Add missing braces

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Use templates for service account names

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Drop application labels

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Update documentation

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Move CRDs to template folder

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Disable webhook by default

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Fix indentation

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Update README

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Drop prefix from aggregate-roles

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Fix typo aggragate-roles.yaml -> aggregate-roles.yaml

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* Use helm-docs.sh

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* Fix typo REALEASE -> RELEASE

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* Use consistent wording/style

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2022-06-14 17:37:47 +02:00

41 lines
1.8 KiB
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "argo-events.controller.fullname" . }}
labels:
{{- include "argo-events.labels" (dict "context" . "name" .Values.controller.name) | nindent 4 }}
data:
controller-config.yaml: |
eventBus:
{{- if .Values.configs.nats.versions }}
nats:
{{- range .Values.configs.nats.versions }}
versions:
- version: {{ .version }}
natsStreamingImage: {{ .natsStreamingImage }}
metricsExporterImage: {{ .metricsExporterImage }}
{{- end }}
{{- end }}
{{- if .Values.configs.jetstream.versions }}
jetstream:
# Default JetStream settings, could be overridden by EventBus JetStream specs
settings: |
# https://docs.nats.io/running-a-nats-service/configuration#jetstream
# Only configure "max_memory_store" or "max_file_store", do not set "store_dir" as it has been hardcoded.
max_memory_store: {{ .Values.configs.jetstream.settings.maxMemoryStore | default -1 }}
max_file_store: {{ .Values.configs.jetstream.settings.maxFileStore | default -1 }}
streamConfig: |
maxMsgs: {{ .Values.configs.jetstream.streamConfig.maxMsgs }}
maxAge: {{ .Values.configs.jetstream.streamConfig.maxAge }}
maxBytes: {{ .Values.configs.jetstream.streamConfig.maxBytes }}
replicas: {{ .Values.configs.jetstream.streamConfig.replicas }}
duplicates: {{ .Values.configs.jetstream.streamConfig.duplicates }}
{{- range .Values.configs.jetstream.versions }}
versions:
- version: {{ .version }}
natsImage: {{ .natsImage }}
metricsExporterImage: {{ .metricsExporterImage }}
configReloaderImage: {{ .configReloaderImage }}
startCommand: {{ .startCommand }}
{{- end }}
{{- end }}