-
Notifications
You must be signed in to change notification settings - Fork 398
Open
Labels
Description
Proposed change
Currently, we pass in the username / password for the docker registry so we can push images to it. There are solutions like workload-identity and IRSA that allow using kubernetes service accounts to be used instead to authenticate to cloud services.
Currently, there's no way to configure which kubernetes service account the build pods should use. We'll need to expose that as an option to make use of it.
Alternative options
- Add an extra_pod_config and extra_container_config option instead that are more generic ways to customize the build pod.
Who would use this feature?
- Anyone running binderhubs on cloud providers
(Optional): Suggest a solution
- Add traitlet that allows configuring this
- Pass it on to the
Builder
object, so it can use it to construct the pod - Add some unit tests