Skip to content

Commit

Permalink
inject the correct argo-cd server url into gitops-operator
Browse files Browse the repository at this point in the history
  • Loading branch information
ATGardner committed Oct 19, 2024
1 parent a7a302a commit 70b2276
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/gitops-runtime/templates/gitops-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
{{/* Set repo server service and port */}}
{{- $_ := set $gitopsOperatorContext.Values.argoCdNotifications.argocd.repoServer "fullname" (include "codefresh-gitops-runtime.argocd.reposerver.servicename" . ) }}
{{- $_ := set $gitopsOperatorContext.Values.argoCdNotifications.argocd.repoServer "port" (include "codefresh-gitops-runtime.argocd.reposerver.serviceport" . ) }}


{{/* Set argo-cd-server service and port */}}
{{- $_ := set $gitopsOperatorContext.Values.env "ARGO_CD_URL" (include "codefresh-gitops-runtime.argocd.server.url" . ) }}

{{/* Set workflows url */}}
{{- if index .Values "argo-workflows" "enabled" }}
Expand Down

0 comments on commit 70b2276

Please sign in to comment.