fix: Don't use github if we have a full URL.
This commit is contained in:
@@ -25,7 +25,7 @@ spec:
|
|||||||
url: "ssh://git@github.com/#{ repository_name }#.git"
|
url: "ssh://git@github.com/#{ repository_name }#.git"
|
||||||
pullSecret: github-deploy-key
|
pullSecret: github-deploy-key
|
||||||
#% else %#
|
#% else %#
|
||||||
url: "https://github.com/#{ repository_name }#.git"
|
url: "#{ repository_name if repository_name.startswith('https://') else 'https://github.com/' + repository_name + '.git' }#"
|
||||||
#% endif %#
|
#% endif %#
|
||||||
ref: "refs/heads/#{ repository_branch }#"
|
ref: "refs/heads/#{ repository_branch }#"
|
||||||
path: kubernetes/flux/cluster
|
path: kubernetes/flux/cluster
|
||||||
|
|||||||
Reference in New Issue
Block a user