Skip to content

Conversation

@captainbeardo
Copy link
Contributor

What was changed

Adds the metrics read role for service accounts.

Why?

Upcoming role allowed for service accounts.

@captainbeardo captainbeardo requested a review from a team as a code owner April 29, 2025 16:54
var rv []string
for n, v := range auth.AccountActionGroup_value {
if v != int32(auth.ACCOUNT_ACTION_GROUP_UNSPECIFIED) &&
v != int32(auth.ACCOUNT_ACTION_GROUP_METRICS_READ) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can a user not have the metrics read role?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we prevent that and this prevents tcld from trying.

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

Successfully merging this pull request may close these issues.

3 participants