feat: event-reporter config for sources-server

This commit is contained in:
andrii-codefresh 2024-12-19 14:27:01 +02:00
parent 333b9c76a3
commit ae4fda795d
2 changed files with 11 additions and 0 deletions

View file

@ -70,6 +70,10 @@ spec:
{{- with (concat .Values.global.env .Values.eventReporter.env) }}
{{- toYaml . | nindent 10 }}
{{- end }}
- name: SOURCES_SERVER_ENABLED
value: {{ .Values.eventReporter.sourcesServer.enabled | quote }}
- name: SOURCES_SERVER_BASE_URL
value: {{ .Values.eventReporter.sourcesServer.baseURL | quote }}
- name: EVENT_REPORTER_APPLICATION_SERVER
value: {{ include "argo-cd.eventReporter.argocd-server-adress" . }}
- name: EVENT_REPORTER_REPLICAS

View file

@ -3843,6 +3843,13 @@ eventReporter:
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
# Configuration of sources-server using
sourcesServer:
# -- Use sources-server logic instead of repo-server
enabled: false
# -- base URL of sources-server
baseURL: "http://sources-server"
serviceAccount:
# -- Create a service account for the event reporter
create: true