This repository has been archived by the owner on Oct 10, 2023. It is now read-only.
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.
Lack of permissions in the tkg-clusterclass-vsphere pkg #3115
Open
Description
Bug description
When running a cluster with CLUSTER_PLAN=prodcc, the following error appears when the tkg-clusterclass-vsphere package is installed:
Pod watching error: pods is forbidden: User "system:serviceaccount:tkg-system:tanzu-infra-clusterclass-package-sa" cannot list resource "pods" in API group "" in the namespace "tkg-system"
Seems the permission in missing cluster role:
packages/tkg-clusterclass/bundle/config/packageinstalls/tkg-infra-clusterclass-service-account.yaml#L18
Affected product area (please put an X in all that apply)
- ( ) APIs
- (x) Addons
- ( ) CLI
- ( ) Docs
- ( ) IAM
- ( ) Installation
- ( ) Plugin
- ( ) Security
- ( ) Test and Release
- ( ) User Experience
- ( ) Developer Experience
Expected behavior
To have the package installed
Steps to reproduce the bug
Set the CC feature flag, and use prodcc PLAN
Version (include the SHA if the version is not obvious)
1.6.0 rc 1
Activity