Skip to content

Describe the RBAC issue happening after helm 2to3 conversion in the docs

Alexandr Tanayno requested to merge docs-add-known-rbac-issue into master

After converting helm 2 to helm, I have faced the RBAC error when trying to run helm upgrade:

Error: UPGRADE FAILED: pre-upgrade hooks failed: warning: Hook pre-upgrade gitlab/charts/shared-secrets/templates/rbac-config.yaml failed: roles.rbac.authorization.k8s.io "gitlab-shared-secrets" is forbidden: user "atanayno@gitlab.com" (groups=["system:authenticated"]) is attempting to grant RBAC permissions not currently held:
{APIGroups:[""], Resources:["secrets"], Verbs:["get" "list" "create" "patch"]}

This MR adds the solution for this error to the docs.

Merge request reports