Add healtcheck + some fixes

- better docs
- add healtcheck based on docker-compoe commands or labels
- fix some problems on secret names
- better dependency check
This commit is contained in:
2022-02-14 14:37:09 +01:00
parent 8164603b47
commit 5a4d9e396d
7 changed files with 395 additions and 209 deletions

View File

@@ -88,8 +88,16 @@ func main() {
flag.StringVar(&appVersion, "appversion", appVersion, helpMessageForAppversion)
version := flag.Bool("version", false, "show version and exit")
force := flag.Bool("force", false, "force the removal of the chart-dir")
showLabels := flag.Bool("labels", false, "show possible labels and exit")
flag.Parse()
if *showLabels {
// display labels from helm/types.go
fmt.Println(helm.GetLabelsDocumentation())
os.Exit(0)
}
// Only display the version
if *version {
fmt.Println(Version)