Skip to content

Commit 1990f13

Browse files
authored
inject the correct argo-cd server url into gitops-operator (#311)
1 parent a7a302a commit 1990f13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

charts/gitops-runtime/templates/gitops-operator.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
{{/* Set repo server service and port */}}
1616
{{- $_ := set $gitopsOperatorContext.Values.argoCdNotifications.argocd.repoServer "fullname" (include "codefresh-gitops-runtime.argocd.reposerver.servicename" . ) }}
1717
{{- $_ := set $gitopsOperatorContext.Values.argoCdNotifications.argocd.repoServer "port" (include "codefresh-gitops-runtime.argocd.reposerver.serviceport" . ) }}
18-
18+
19+
{{/* Set argo-cd-server service and port */}}
20+
{{- $_ := set $gitopsOperatorContext.Values.env "ARGO_CD_URL" (include "codefresh-gitops-runtime.argocd.server.url" . ) }}
1921

2022
{{/* Set workflows url */}}
2123
{{- if index .Values "argo-workflows" "enabled" }}

0 commit comments

Comments
 (0)