From 1425e8d2a1bf70b93e150d737bc25dd0f787f0ae Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Mon, 28 Aug 2023 09:19:17 +0200 Subject: [PATCH] basehub, singleuserAdmin: add serviceAccountName config --- helm-charts/basehub/values.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/helm-charts/basehub/values.yaml b/helm-charts/basehub/values.yaml index 4250e001bf..d72dc004fe 100644 --- a/helm-charts/basehub/values.yaml +++ b/helm-charts/basehub/values.yaml @@ -606,6 +606,10 @@ jupyterhub: admin_environment = custom_admin.get('extraEnv', {}) self.environment.update(admin_environment) + admin_service_account = custom_admin.get('serviceAccountName'): + if admin_service_account: + self.service_account = admin_service_account + return super().start(*args, **kwargs)