-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Headlamp does not show restart/edit/scale buttons on resources with sufficient permissions #2633
Comments
interesting, would you be able to provide your kubeconfig? (feel free to redact any sensitive information) |
Sure. You get the certificate-authority-data and token value from a secret. In my case, it's a secret called cluster-developer.
|
Awesome ty, I matched up the kubeconfigs and I'm seeing what you're seeing now. Will take a look into this |
I see that you see the scale button for the deployment when you click on it (on the right side here) but you don't see the edit or restart buttons. Both of these actions require permission to "update", so if you add "update" to
Although they aren't showing up in the table row actions, working on this now |
This change sets the apiVersion in the KubeObject constructor to ensure that valid row actions for the given KubeObject are visible. Fixes: #2633 Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>
Previously, the apiVersion was not provided in the jsonData object in the resource table, and apiVersion is necessary for authenticating and displaying valid row actions. This change sets the apiVersion in the KubeObject constructor to ensure that valid row actions for the given KubeObject are visible. Fixes: #2633 Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>
Previously, the apiVersion was not provided in the jsonData object in the resource table, and apiVersion is necessary for authenticating and displaying valid row actions. This change sets the apiVersion in the KubeObject constructor to ensure that valid row actions for the given KubeObject are visible. Fixes: #2633 Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>
Previously, the apiVersion was not being provided in the jsonData object in the resource table, and apiVersion is necessary for authenticating and displaying valid row actions. This change ensures that resource, group, and version are always provided to ensure that valid row actions for the given KubeObject are visible. Fixes: #2633 Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>
Previously, the apiVersion was not being provided in the jsonData object in the resource table, and apiVersion is necessary for authenticating and displaying valid row actions. This change ensures that resource, group, and version are always provided to ensure that valid row actions for the given KubeObject are visible. Fixes: #2633 Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>
This change updates the logic of the getAuthorization function in KubeObject, which previously intended to test auth by separating the group from its respective version when one of these was missing. Now, these two fields are linked and grabbed together from apiInfo when one is missing. Fixes: #2633 Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>
This change updates the logic of the getAuthorization function in KubeObject, which previously intended to test auth by separating the group from its respective version when one of these was missing. Now, these two fields are linked and grabbed together from apiInfo when one is missing. Fixes: #2633 Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>
This change updates the logic of the getAuthorization function in KubeObject, which previously intended to test auth by separating the group from its respective version when one of these was missing. Now, these two fields are linked and grabbed together from apiInfo when one is missing. Fixes: #2633 Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>
This change updates the logic of the getAuthorization function in KubeObject, which previously intended to test auth by separating the group from its respective version when one of these was missing. Now, these two fields are linked and grabbed together from apiInfo when one is missing. Fixes: #2633 Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>
Describe the bug
The bug title says it all. I gave permissions to restart, scale, edit the deployment but the button with the option to restart and scale the deployment does not appear. These are sufficient permissions because I tested using kubectl.
kubectl rollout restart deployment gotify -n default
According to the documentation the buttons should appear
https://headlamp.dev/docs/latest/faq/#headlamp-is-not-showing-deleteeditscale-buttons-in-a-resource-why-is-that
To Reproduce
Create Deployment
Create SA with secret
Create custom RBAC with sufficient permissions.
Environment (please provide info about your environment):
Are you able to fix this issue?
No. I work as devops :(
Additional Context
Excepted result
Additionally, after pressing the actions button the bubble has weird formatting.
The text was updated successfully, but these errors were encountered: