From fa403b113e98e7cd4744b7950bd86ea75de68144 Mon Sep 17 00:00:00 2001 From: Laur IVAN Date: Sat, 7 Feb 2026 16:25:00 +0100 Subject: [PATCH] fix: Don't use github if we have a full URL. --- .../apps/flux-system/flux-instance/app/helmrelease.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/config/kubernetes/apps/flux-system/flux-instance/app/helmrelease.yaml.j2 b/templates/config/kubernetes/apps/flux-system/flux-instance/app/helmrelease.yaml.j2 index e886f21..5393920 100644 --- a/templates/config/kubernetes/apps/flux-system/flux-instance/app/helmrelease.yaml.j2 +++ b/templates/config/kubernetes/apps/flux-system/flux-instance/app/helmrelease.yaml.j2 @@ -25,7 +25,7 @@ spec: url: "ssh://git@github.com/#{ repository_name }#.git" pullSecret: github-deploy-key #% else %# - url: "https://github.com/#{ repository_name }#.git" + url: "#{ repository_name if repository_name.startswith('https://') else 'https://github.com/' + repository_name + '.git' }#" #% endif %# ref: "refs/heads/#{ repository_branch }#" path: kubernetes/flux/cluster