I'm using the Helm chart. I want to get the keys f...
# ask-ai
w
I'm using the Helm chart. I want to get the keys from Kubernetes secrets, but it just doesn't seem to work. Can you explain to me how I set up the Helm chart with existing secrets?
t
Thanks for reaching out, Niels. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! If you’re looking to set up the LiveKit Helm chart using your existing Kubernetes secrets, here’s a friendly guide to help you through it: 1. Using Existing Secrets for API Keys:
Copy code
storeKeysInSecret:
  enabled: true
  existingSecret: "my-existing-api-keys-secret"
Just swap out
my-existing-api-keys-secret
with the name of your actual secret. Make sure your secret holds the API keys formatted just like the
key_file
expects. 2. Using Existing Secrets for TLS Certificates: For TURN Server TLS:
Copy code
livekit:
  turn:
    enabled: true
    domain: turn.myhost.com
    tls_port: 3478
    secretName: my-existing-turn-tls-secret
For Load Balancer TLS:
Copy code
loadBalancer:
  type: gke
  tls:
    - hosts:
        - livekit.myhost.com
      secretName: my-existing-server-tls-secret
3. Creating TLS Secrets: If you haven’t created a TLS secret yet, no worries! You can do it with this command:
Copy code
kubectl create secret tls <name> --cert <cert-file> --key <key-file> --namespace <namespace>
Just be sure the secret lives in the same namespace as your LiveKit deployment. If you hit any bumps or want me to walk you through anything else, just let me know—I’m here to help! Sources: egress-sample.yaml | Deploy to Kubernetes | LiveKit Docs