mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
Pass the NS param from Helm correctly (#64)
This commit is contained in:
2
main.go
2
main.go
@@ -53,7 +53,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func parseFlags() options {
|
func parseFlags() options {
|
||||||
opts := options{}
|
opts := options{Namespace: os.Getenv("HELM_NAMESPACE")}
|
||||||
args, err := flags.Parse(&opts)
|
args, err := flags.Parse(&opts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if e, ok := err.(*flags.Error); ok {
|
if e, ok := err.(*flags.Error); ok {
|
||||||
|
|||||||
Reference in New Issue
Block a user