Skip to content
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

Managed Defender DaemonSets - permissions error #388

Open
iansk opened this issue Mar 3, 2021 · 0 comments
Open

Managed Defender DaemonSets - permissions error #388

iansk opened this issue Mar 3, 2021 · 0 comments

Comments

@iansk
Copy link
Collaborator

iansk commented Mar 3, 2021

"Error fetching DaemonSet: The caller does not have permission" even when using a service account with Owner permissions

This is a permissions issue. In the docs, we reference the google docs for creating a service account, where inside it recommends adding these roles to the service account: Service Account Admin, Service Account Key Admin
These roles aren't enough for PCC to fully work.

Since the console generates a temporary token for accessing GKE, it failed for not having the permission to generate tokens. The Owner role doesn't have permission to create tokens. Add the Service Account Token Creator role to the service account to resolve this problem.

See twistlock/twistlock#22777 for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant