From 1b01d5b0a1e0fbd6d51d6ac89007d7e5d07f5b3c Mon Sep 17 00:00:00 2001
From: Tim Kreuzer <t.kreuzer@fz-juelich.de>
Date: Wed, 23 Apr 2025 16:29:21 +0200
Subject: [PATCH] add outpost secret to env

---
 .../templates/configmap_values.yaml                          | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/charts/jupyter-hub-customizations/templates/configmap_values.yaml b/charts/jupyter-hub-customizations/templates/configmap_values.yaml
index 2bf0db8..52e2b6e 100644
--- a/charts/jupyter-hub-customizations/templates/configmap_values.yaml
+++ b/charts/jupyter-hub-customizations/templates/configmap_values.yaml
@@ -107,6 +107,11 @@ data:
               mountPath: /etc/localtime
         {{- end }}
       extraEnv:
+        - name: OUTPOST_FLAVORS_UPDATE_TOKEN
+          valueFrom:
+            secretKeyRef:
+              key: hub.services.outpostflavors.apiToken
+              name: hub
         - name: RESERVATION_KEY_PATH
           value: /mnt/shared-data/reservation_key/ssh-privatekey
         - name: CUSTOM_CONFIG_PATH
-- 
GitLab