helm-charts
helm-charts copied to clipboard
[BUG][opensearch-dashboards] referenced role does not exist
Describe the bug Rolebinding "{chart_name}-dashboards-rolebinding" references role "{chart_name}-dashboards" which does not exists. Helm install command sometimes fails with message "failed to create resource: roles.rbac.authorization.k8s.io "{chart_name}-dashboards" not found"
To Reproduce Steps to reproduce the behavior:
- Deploy opensearch-dashboards with "serviceAccount.create" and "rbac.create" set to true
Expected behavior Existing role "{chart_name}-dashboards"
Chart Name opensearch-dashboards
Host/Environment (please complete the following information):
- Helm Version: 3.7.1
- Kubernetes Version: 1.21.3
Hi @joblanc thanks for reporting this issue. Have you discovered any workaround to this issue? @DandyDeveloper @TheAlgo please take a look at it.
Thanks.
Poke again @DandyDeveloper @TheAlgo
Hello ... any solution to this problem? I am facing the same issue
Workaround at present is to add your own role, this is a bug. It needs resolving.
Hi,
Workaround at present is to add your own role, this is a bug. It needs resolving.
Can you elaborate more on the workaround please, I'm having this issue also. I achieved to deploy the opensearch-dashboard
rbac: create: false
but it's not working correctly.
{"type":"log","@timestamp":"2022-06-23T15:41:01Z","tags":["error","opensearch","data"],"pid":1,"message":"[ConnectionError]: Client network socket disconnected before secure TLS connection was established"}
Are the role requirements listed somewhere?