Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Assign OPENAI_API_KEY from a k8s secret in the collab deployment (#9703)

Nathan Sobof56707e0769a
diff --git a/crates/collab/k8s/collab.template.yml b/crates/collab/k8s/collab.template.yml
index cf736f5fd11..8a8f55fd1ad 100644
--- a/crates/collab/k8s/collab.template.yml
+++ b/crates/collab/k8s/collab.template.yml
@@ -125,6 +125,11 @@ spec:
secretKeyRef:
name: livekit
key: secret
+ - name: OPENAI_API_KEY
+ valueFrom:
+ secretKeyRef:
+ name: openai
+ key: api_key
- name: BLOB_STORE_ACCESS_KEY
valueFrom:
secretKeyRef: