Query ArtifactHub for repo suggestion (#225)

* Query ArtifactHub for repo suggestion

* Refactor & improve

* Add notice on local chart support
This commit is contained in:
Andrey Pokhilko
2023-03-02 10:22:32 +00:00
committed by GitHub
parent 679d31e4ab
commit bbb425bfea
7 changed files with 182 additions and 3 deletions

View File

@@ -34,6 +34,11 @@ type options struct {
}
func main() {
err := os.Setenv("HD_VERSION", version) // for anyone willing to access it
if err != nil {
fmt.Println("Failed to remember app version because of error: " + err.Error())
}
opts := parseFlags()
if opts.BindHost == "" {
host := os.Getenv("HD_BIND")