You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
We use pinniped with an oidc test user to create a context. During the login process, one information(in black) shown below which will confuse users:
anzu context create mgmte --endpoint=https://192.168.120.1 --insecure-skip
-tls-verify
[ok] successfully created a kubernetes context using the kubeconfig /root/.kube/config
[i] Checking for required plugins for context 'mgmte'... [i] unable to get image repository override information for some of the plugins. Error: configmaps is forbidden: User "[email protected]" cannot list resource "configmaps" in API group "" in the namespace "tanzu-cli-system"
Because there is no tanzu-cli-system on our k8s cluster, and there is no image repository override settings at all, so users cannot understand what this information means.
Expected behavior
The above error message should not show, or at least, the log level at
Bug description
We use pinniped with an oidc test user to create a context. During the login process, one information(in black) shown below which will confuse users:
anzu context create mgmte --endpoint=https://192.168.120.1 --insecure-skip
-tls-verify
[ok] successfully created a kubernetes context using the kubeconfig /root/.kube/config
[i] Checking for required plugins for context 'mgmte'...
[i] unable to get image repository override information for some of the plugins. Error: configmaps is forbidden: User "[email protected]" cannot list resource "configmaps" in API group "" in the namespace "tanzu-cli-system"
Because there is no tanzu-cli-system on our k8s cluster, and there is no image repository override settings at all, so users cannot understand what this information means.
Expected behavior
The above error message should not show, or at least, the log level at
tanzu-cli/pkg/discovery/kubernetes.go
Line 100 in d3ef9a5
Steps to reproduce the bug / Relevant debug output
Output of
tanzu version
All versions.
Environment where the bug was observed (cloud, OS, etc)
The text was updated successfully, but these errors were encountered: