Skip to content

Commit

Permalink
feat(cmd/install_bin): Add Azure kubelogin
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejsika committed Apr 29, 2024
1 parent 78eb2a6 commit 65eb421
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cmd/install_bin/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ var Tools = []Tool{
UrlTemplate: "https://github.com/hadolint/hadolint/releases/download/{{.Version}}/hadolint-{{.Os|capitalize}}-{{.Arch}}",
GetArchFunc: hadolintGetArchFunc,
},

{
Name: "oauth2-proxy",
GetVersionFunc: func() string { return github_utils.GetLatestRelease("oauth2-proxy", "oauth2-proxy") },
Expand Down Expand Up @@ -351,6 +350,12 @@ var Tools = []Tool{
GetVersionFunc: func() string { return github_utils.GetLatestRelease("sikalabs", "slc") },
UrlTemplate: "https://github.com/sikalabs/slc/releases/download/{{.Version}}/slc_{{.Version}}_{{.Os}}_{{.Arch}}.tar.gz",
},
{
Name: "kubelogin",
GetVersionFunc: func() string { return github_utils.GetLatestRelease("Azure", "kubelogin") },
UrlTemplate: "https://github.com/Azure/kubelogin/releases/download/{{.Version}}/kubelogin-{{.Os}}-{{.Arch}}.zip",
SourcePath: "bin/{{.Os}}_{{.Arch}}/kubelogin",
},
}

func hashicorpUrlTemplate(name string) string {
Expand Down

0 comments on commit 65eb421

Please sign in to comment.