Assign tracing-related environment variables in Kubernetes

Nathan Sobo and Antonio Scandurra created

Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Change summary

crates/collab/k8s/environments/production.sh | 1 +
crates/collab/k8s/environments/staging.sh    | 1 +
crates/collab/k8s/manifest.template.yml      | 9 +++++++++
3 files changed, 11 insertions(+)

Detailed changes

crates/collab/k8s/manifest.template.yml 🔗

@@ -85,6 +85,15 @@ spec:
               value: "1"
             - name: RUST_LOG
               value: "trace"
+            - name: TRACE_LEVEL
+              value: ${TRACE_LEVEL}
+            - name: HONEYCOMB_DATASET
+              value: "collab"
+            - name: HONEYCOMB_API_KEY
+              valueFrom:
+                secretKeyRef:
+                  name: honeycomb
+                  key: apiKey
           securityContext:
             capabilities:
               # FIXME - Switch to the more restrictive `PERFMON` capability.