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

Use keychain from clusterstack to pull build image in CreateBuild #1223

Merged
merged 1 commit into from
May 24, 2023

Conversation

tomkennedy513
Copy link
Collaborator

  • fallback to builder keychain if there is no service account on the clusterstack to mimic existing behavior

- fallback to builder keychain if there is no service account on the clusterstack to mimic existing behavior
@tomkennedy513 tomkennedy513 removed the request for review from yaelharel May 24, 2023 19:34
ServiceAccount: builder.Spec.ServiceAccount(),
Namespace: builder.Namespace,
})
if err != nil {
return buildapi.BuilderRecord{}, err
}

stackKeychain := builderKeychain
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm a little hesitant on falling back to the stack keychain, this feels like compromising design for backwards compatibility. That being said, I'm not too married to this idea and certainly not enough to block this PR

@tomkennedy513 tomkennedy513 merged commit 9864fc3 into main May 24, 2023
@tomkennedy513 tomkennedy513 deleted the stack-keychain branch May 24, 2023 20:30
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