Skip to content

Commit

Permalink
feat(cmd/install_bin): Add coredns
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejsika committed Nov 6, 2024
1 parent cdcd633 commit a48a51f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/install_bin/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,11 @@ var Tools = []Tool{
UrlTemplate: "https://github.com/grafana/loki/releases/download/{{.Version}}/promtail-{{.Os}}-{{.Arch}}.zip",
SourcePath: "promtail-{{.Os}}-{{.Arch}}",
},
{
Name: "coredns",
GetVersionFunc: func() string { return github_utils.GetLatestRelease("coredns", "coredns") },
UrlTemplate: "https://github.com/coredns/coredns/releases/download/{{.Version}}/coredns_{{.Version|removev}}_{{.Os}}_{{.Arch}}.tgz",
},
}

func hashicorpUrlTemplate(name string) string {
Expand Down

0 comments on commit a48a51f

Please sign in to comment.