Unable to see the replicasets and pods using admin user #4206
Open
Description
There are 2 different questions here,
- 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?
- 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)