Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Problem with usage --namespace-list flag #2259

Closed
aleksandrgudo opened this issue Apr 2, 2021 · 1 comment · Fixed by #2686
Closed

Problem with usage --namespace-list flag #2259

aleksandrgudo opened this issue Apr 2, 2021 · 1 comment · Fixed by #2686
Assignees
Labels
bug Something isn't working

Comments

@aleksandrgudo
Copy link

aleksandrgudo commented Apr 2, 2021

When I try to use this option by adding several such namespaces "--namespace-list pf-personal-finance,pf-personal-lifestyle,pf-investment", I see only one of them in the octant interface, the first one
Using command like this: octant --kubeconfig /home/aleksandr/kubeconf_test --namespace-list pf-personal-finance,pf-personal-lifestyle,pf-investment
In the drop-down list of namespaces I see only default and pf-personal-finance
I use restricted clusters

Screenshot_20210403_025509

Environment:

  • Octant version:
    Version: 0.17.0
    Git commit: 7fded95
    Built: 2021-02-12T00:45:19Z

  • Kubernetes version:

  • Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.2", GitCommit:"faecb196815e248d3ecfb03c680a4507229c2a56", GitTreeState:"clean", BuildDate:"2021-01-13T13:28:09Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
    Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.3", GitCommit:"2e7996e3e2712684bc73f0dec0200d64eec7fe40", GitTreeState:"clean", BuildDate:"2020-05-20T12:43:34Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

  • OS:
    cat /etc/*release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=20.04

  • Web browser: Firefox 85

@wwitzel3 wwitzel3 added the bug Something isn't working label Apr 5, 2021
@wwitzel3 wwitzel3 self-assigned this Apr 5, 2021
@wwitzel3 wwitzel3 removed their assignment Jul 14, 2021
@wwitzel3
Copy link
Contributor

Using restricted RBAC with only access to certain namespaces without the ability to list them can reproduce this bug.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants