Skip to content

Unable to see the replicasets and pods using admin user #4206

Open
@absnmohammedsedex

Description

There are 2 different questions here,

  1. I can log in using basic username and password authentication, but I cannot see the replicasets and pods. Is it something not yet added to the dashboard or am I missing something here?
  2. I am using external ingress with OIDC authentication, it works fine and it takes me to the login page where it is asking for a username and password(admin user and password) then it allows me to login. I am not using the weave gitops OIDC config here.
    I can log in via both authentications but cannot see the replicasets and pods.

If I try to bypass the adminUser, the pod fails with CrashLoopRecovery.

Can I bypass the adminUser as I can login via AD OIDC?
How can I see the replicasets, pods and pod logs?

I have checked the RBAC clusterRole and have allowed full access and added admin user to impersonationResourceNames list.

Environment

  • Weave-Gitops Version - 2.0.36
  • Flux Version - 2.3.0
  • Kubernetes version(EKS) - 1.30

To Reproduce
Steps to reproduce the behavior:

$ PASSWORD="averyverystrongpassword"
$ gitops create dashboard ww-gitops \
  --password=$PASSWORD \
  --export > ./clusters/ovh-fluxcd/weave/weave-gitops-dashboard.yaml

Expected behavior

Actual Behavior
I'm not seeing any of these, except the deployments, helm releases.

Additional Context (screenshots, logs, etc)

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions