Skip to content

Commit cadc142

Browse files
feat: external argocd unders .values.global.integrations
1 parent 3d1e00d commit cadc142

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

charts/gitops-runtime/templates/_helpers.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Determine argocd repoServer url
115115
{{- $repoServer := (index .Values "global" "integrations" "argo-cd" "repoServer") }}
116116
{{- $svc := required ".Values.global.integrations.argo-cd.repoServer.svc is not set" $repoServer.svc }}
117117
{{- $port := required ".Values.global.integrations.argo-cd.repoServer.port is not set" $repoServer.port }}
118-
{{- printf "%s:%s" $svc $port }}
118+
{{- printf "%s:%v" $svc $port }}
119119
{{- end}}
120120

121121

@@ -179,7 +179,7 @@ Determine argocd server url. Must be called with chart root context
179179
{{- if (eq $port "80") }}
180180
{{- printf "%s://%s%s" $protocol $svc $rootpath }}
181181
{{- else }}
182-
{{- printf "%s://%s:%s%s" $protocol $svc $port $rootpath }}
182+
{{- printf "%s://%s:%v%s" $protocol $svc $port $rootpath }}
183183
{{- end }}
184184
{{- end}}
185185

0 commit comments

Comments
 (0)