smuu
smuu
optional: we probably could get rid of nested branches as much as possible. _Originally posted by @mojtaba-esk in https://github.com/celestiaorg/knuu/pull/221#pullrequestreview-1790849545_
``` | Error from server (Forbidden): rolebindings.rbac.authorization.k8s.io is forbidden: User "system:serviceaccount:test:timeout-handler-76661a58" cannot list resource "rolebindings" in API group "rbac.authorization.k8s.io" in the namespace "test": RBAC: role.rbac.authorization.k8s.io "timeout-handler-76661a58" not found | --...
Instead of only loading k8s context from `~/.kube/config` allow all kubeconfigs set in the environment variable. https://github.com/celestiaorg/knuu/blob/9490db5c9c0f24921011cd84e9fa699768fb4fc5/pkg/k8s/k8s.go#L88 cc. @Bidon15
https://github.com/celestiaorg/knuu/blob/287c841e1720f5342bad4f1e09145e4c3fcbf11f/pkg/knuu/instance.go#L549 The user might call `GetIP` on an instance multiple times, which results in many unnecessary k8s API calls. This can be avoided by saving the IP as an `Instance`...
This is due to the timeout handler with a default timeout value of 1h. This default can be changed with `KNUU_TIMEOUT`.
Sometimes the resource gets applied but is incorrect. The test run then times out without proper information. Only when looking at the cluster the error is clear. - dryrun?