@@ -77,15 +77,15 @@ Determine argocd server service name. Must be called with chart root context
77
77
*/} }
78
78
{ {- define " codefresh-gitops-runtime.argocd.server.servicename" -} }
79
79
{ {/* For now use template from ArgoCD chart until better approach */} }
80
- { {- template " argo-cd.server.fullname" (dict " Values" (get .Values " argo-cd" )) } }
80
+ { {- template " argo-cd.server.fullname" (dict " Values" (get .Values " argo-cd" ) " Release " .Release ) } }
81
81
{ {- end } }
82
82
83
83
{ {/*
84
84
Determine argocd redis service name. Must be called with chart root context
85
85
*/} }
86
86
{ {- define " codefresh-gitops-runtime.argocd.redis.servicename" -} }
87
87
{ {/* For now use template from ArgoCD chart until better approach */} }
88
- { {- template " argo-cd.redis.fullname" (dict " Values" (get .Values " argo-cd" )) } }
88
+ { {- template " argo-cd.redis.fullname" (dict " Values" (get .Values " argo-cd" ) " Release " .Release ) } }
89
89
{ {- end } }
90
90
91
91
{ {/*
@@ -94,7 +94,7 @@ Determine argocd repo server service name. Must be called with chart root contex
94
94
{ {- define " codefresh-gitops-runtime.argocd.reposerver.servicename" -} }
95
95
{ {/* For now use template from ArgoCD chart until better approach */} }
96
96
{ {- if and (index .Subcharts " argo-cd" ) } }
97
- { {- template " argo-cd.repoServer.fullname" (dict " Values" (get .Values " argo-cd" )) } }
97
+ { {- template " argo-cd.repoServer.fullname" (dict " Values" (get .Values " argo-cd" ) " Release " .Release ) } }
98
98
{ {- else } }
99
99
{ {- $repoServer := index .Values " global" " external-argo-cd" " repoServer" } }
100
100
{ {- $svc := required " ArgoCD is not enabled and .Values.global.external-argo-cd.repoServer.svc is not set" $repoServer .svc } }
@@ -142,7 +142,7 @@ Determine argocd servicename. Must be called with chart root context
142
142
*/} }
143
143
{ {- define " codefresh-gitops-runtime.argocd.appcontroller.serviceAccountName" -} }
144
144
{ {/* For now use template from ArgoCD chart until better approach */} }
145
- { {- template " argo-cd.controllerServiceAccountName" (dict " Values" (get .Values " argo-cd" )) } }
145
+ { {- template " argo-cd.controllerServiceAccountName" (dict " Values" (get .Values " argo-cd" ) " Release " .Release ) } }
146
146
{ {- end } }
147
147
148
148
{ {/*
@@ -430,7 +430,8 @@ Output comma separated list of installed runtime components
430
430
{ {- $sealedSecrets := dict " name" " sealed-secrets" " version" (get .Subcharts " sealed-secrets" ).Chart.AppVersion } }
431
431
{ {- $internalRouter := dict " name" " internal-router" " version" .Chart.AppVersion } }
432
432
{ {- $appProxy := dict " name" " app-proxy" " version" (index (get .Values " app-proxy" ) " image" " tag" ) } }
433
- { {- $comptList := list $argoEvents $appProxy $sealedSecrets $internalRouter } }
433
+ { {- $sourcesServer := dict " name" " sources-server" " version" (get .Subcharts " cf-argocd-extras" ).Chart.AppVersion } }
434
+ { {- $comptList := list $argoEvents $appProxy $sealedSecrets $internalRouter $sourcesServer } }
434
435
{ {- if and (index .Values " argo-cd" " enabled" ) } }
435
436
{ {- $argoCD := dict " name" " argocd" " version" (get .Subcharts " argo-cd" ).Chart.AppVersion } }
436
437
{ {- $comptList = append $comptList $argoCD } }
@@ -455,6 +456,10 @@ Output comma separated list of installed runtime components
455
456
{ {- $gitopsOperator := dict " name" " gitops-operator" " version" (get .Subcharts " gitops-operator" ).Chart.AppVersion } }
456
457
{ {- $comptList = append $comptList $gitopsOperator } }
457
458
{ {- end } }
459
+ { {- if not (index .Values " argo-cd" " enabled" ) } }
460
+ { {- $eventReporter := dict " name" " event-reporter" " version" (get .Subcharts " cf-argocd-extras" ).Chart.AppVersion } }
461
+ { {- $comptList = append $comptList $eventReporter } }
462
+ { {- end } }
458
463
{ {- $comptList | toYaml } }
459
464
{ {- end } }
460
465
0 commit comments