Commit 22719fcd authored by Omer Azmon's avatar Omer Azmon Committed by Oren Shomron
Browse files

Allow ksonet type registry in an enterprise git

Out github is at; Making this change allows ks to consider it a valid ksonet registry. We need this fix soon. In the long run I suggest a better detection method, such as uri connect to git or a helm service.
Signed-off-by: default avatarOmer Azmon <>
parent 830ff397
......@@ -127,6 +127,6 @@ func (ra *RegistryAdd) protocol() (registryDetails, error) {
func (ra *RegistryAdd) isGitHub() bool {
return strings.HasPrefix(ra.uri, "") ||
strings.HasPrefix(ra.uri, "")
return strings.HasPrefix(ra.uri, "github") ||
strings.HasPrefix(ra.uri, "https://github")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment