1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

feat: supports namespaces properly in k8s mode (#3631)

This commit is contained in:
Amir Raminfar
2025-02-15 09:35:32 -08:00
committed by GitHub
parent 65fa04c877
commit 21fe5b84f2
7 changed files with 53 additions and 58 deletions

View File

@@ -203,7 +203,7 @@ func main() {
}
}()
} else if args.Mode == "k8s" {
localClient, err := k8s.NewK8sClient("default")
localClient, err := k8s.NewK8sClient(args.Namespace)
if err != nil {
log.Fatal().Err(err).Msg("Could not create k8s client")
}