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

Arize dev/workload identity support #6

Merged
merged 3 commits into from
Apr 24, 2024
Merged

Conversation

ddowker
Copy link
Collaborator

@ddowker ddowker commented Apr 24, 2024

Do not error out if when we find our credentials they did not come from a json file containing a gcp service account. For workload identity FindDefaultCredentials() will not fill in the creds.JSON field but rather will attach a creds.TokenSource directly that can be used by storage.NewClient().

We leave s.signedURLOptions empty which does not seem to affect the operation of SignGet() function at top of the file.

This was tested to operate on an on-prem test cluster. As store_gcs.go is not used by the arize gazette consumers we did not have to change the arize go.mod file to pick up this change. Only the gazette broker needs a new image.

@ddowker ddowker requested a review from harjsing7 April 24, 2024 18:40
@ddowker ddowker merged commit 17ea107 into arize Apr 24, 2024
2 checks passed
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.

2 participants