Closed sandrospadaro closed 9 months ago
Hey @sandrospadaro thanks for your bug report. I'm a bit confused. We also run the application in our OpenShift clusters with the helm chart provided in this repository
Can you specify the error message you receive? Maybe the logs of the API server?
Beside this I will try to reproduce this issue.
Best regards.
Hi jaydee94 You are right. Please ignore this issue. I apologize for the error.
@sandrospadaro No problem :)
I will mark this issue as resolved.
Describe the bug
The application fails to operate correctly due to insufficient permissions within the OpenShift cluster. Specifically, it requires the
list
andget
verbs to be enabled for certain resources, but these permissions can not to be set. Without these permissions, the application is unable to query the cluster for necessary information, leading to operational failures.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The application should seamlessly list and retrieve the namespaces from the OpenShift cluster without encountering permission errors. Proper setup should include all necessary permissions for the application's service account, ensuring it can execute
list
andget
operations as intended.Screenshots
If applicable, add screenshots to help explain your problem. (N/A)
Additional context
The issue was encountered in an OpenShift cluster, version 4.12.27, running Kubernetes version 1.25.
Proposd solution Edit
chart/kubeseal-webgui/templates/clusterrole.yaml
file and replaceverbs: ["list"]
withverbs: ["list", "get"]
here.