livekit-helm icon indicating copy to clipboard operation
livekit-helm copied to clipboard

what is the egress gcp.credentials_json value supposed to look like?

Open stevenaldinger opened this issue 2 years ago • 1 comments

I was expecting it to be a file path with a volume mount but then saw the deployment template has no volume mounts.

From: https://github.com/livekit/livekit-helm/blob/master/egress-sample.yaml#L30-L31

Is this supposed to be raw JSON content like the following snippet? I'll happily open a PR that adds more clarity to the example if you can help me out.

egress:
  gcp:
    credentials_json: |
      {
        ...my JSON key contents...
      }
    bucket: my-bucket

stevenaldinger avatar Feb 23 '23 00:02 stevenaldinger

Yeah, it should contain the contents of the credentials JSON that GCP gives you. Your example is the right way of embedding it here.

davidzhao avatar Feb 26 '23 03:02 davidzhao