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

add manual check for turtle service accounts #7041

Merged
merged 4 commits into from
Apr 24, 2024
Merged

Conversation

bkendall
Copy link
Contributor

@bkendall bkendall commented Apr 23, 2024

Description

Instead of checking for an error message coming back from the API, we can proactively check for service accounts and their permissions. This change adjusts the flow to be:

  1. test for actAs permissions on the service account
  2. create the service account (with the appropriate role) if it did not exist
  3. create the backend

This should be significantly more reliable since we won't be relying on error message parsing.

@bkendall bkendall merged commit 95eb94a into master Apr 24, 2024
35 checks passed
@bkendall bkendall deleted the bk-fah-sa-checking branch April 24, 2024 15:38
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