comms: restore livekit token env
This commit is contained in:
parent
35369d53d8
commit
6898641b0a
@ -34,29 +34,21 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: token-service
|
- name: token-service
|
||||||
image: ghcr.io/element-hq/lk-jwt-service:0.3.0
|
image: ghcr.io/element-hq/lk-jwt-service:0.3.0
|
||||||
command:
|
|
||||||
- /bin/sh
|
|
||||||
- -c
|
|
||||||
- |
|
|
||||||
. /vault/scripts/comms_vault_env.sh
|
|
||||||
exec /lk-jwt-service
|
|
||||||
env:
|
env:
|
||||||
- name: LIVEKIT_URL
|
- name: LIVEKIT_URL
|
||||||
value: wss://kit.live.bstein.dev/livekit/sfu
|
value: wss://kit.live.bstein.dev/livekit/sfu
|
||||||
- name: LIVEKIT_KEY
|
- name: LIVEKIT_KEY
|
||||||
value: primary
|
value: primary
|
||||||
|
- name: LIVEKIT_SECRET
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: livekit-api
|
||||||
|
key: primary
|
||||||
- name: LIVEKIT_FULL_ACCESS_HOMESERVERS
|
- name: LIVEKIT_FULL_ACCESS_HOMESERVERS
|
||||||
value: live.bstein.dev
|
value: live.bstein.dev
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: http
|
name: http
|
||||||
volumeMounts:
|
|
||||||
- name: vault-secrets
|
|
||||||
mountPath: /vault/secrets
|
|
||||||
readOnly: true
|
|
||||||
- name: vault-scripts
|
|
||||||
mountPath: /vault/scripts
|
|
||||||
readOnly: true
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
@ -65,16 +57,6 @@ spec:
|
|||||||
cpu: 300m
|
cpu: 300m
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
volumes:
|
volumes:
|
||||||
- name: vault-secrets
|
|
||||||
csi:
|
|
||||||
driver: secrets-store.csi.k8s.io
|
|
||||||
readOnly: true
|
|
||||||
volumeAttributes:
|
|
||||||
secretProviderClass: comms-vault
|
|
||||||
- name: vault-scripts
|
|
||||||
configMap:
|
|
||||||
name: comms-vault-env
|
|
||||||
defaultMode: 0555
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user