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

Adds token scope check for activeGate features #461

Merged
merged 6 commits into from
Jan 18, 2022
Merged

Conversation

0sewa0
Copy link
Contributor

@0sewa0 0sewa0 commented Jan 17, 2022

In case of select activeGate features the apiToken needs special scopes, if these are not present we notify the user

Automatic kubernetes api monitoring need:
entities.read
entities.write

Metrics ingest need:
metrics.ingest

@0sewa0 0sewa0 marked this pull request as ready for review January 18, 2022 08:57
@0sewa0 0sewa0 added activegate Changes related to Activegate minor labels Jan 18, 2022
src/controllers/dynakube/dtclient_reconciler.go Outdated Show resolved Hide resolved
src/dtclient/client.go Show resolved Hide resolved
@0sewa0 0sewa0 merged commit f6dbeba into master Jan 18, 2022
@0sewa0 0sewa0 deleted the feature/scope-check branch January 18, 2022 14:44
chrismuellner pushed a commit that referenced this pull request Jan 21, 2022
chrismuellner pushed a commit that referenced this pull request Mar 8, 2022
chrismuellner pushed a commit that referenced this pull request Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
activegate Changes related to Activegate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants