Skip to content

Commit

Permalink
feat: event-reporter config for sources-server
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-codefresh committed Dec 19, 2024
1 parent 333b9c7 commit ae4fda7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/argo-cd/templates/event-reporter/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions charts/argo-cd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae4fda7

Please sign in to comment.