This commit is contained in:
TonyChyi
2022-08-20 14:19:54 +08:00
parent d7e0750659
commit 938db68be9
5 changed files with 56 additions and 1 deletions

View File

@@ -39,6 +39,8 @@ spec:
volumeMounts:
- mountPath: /conf
name: conf
- mountPath: /certs
name: certs
ports:
- name: turn-port1
containerPort: 3478

View File

@@ -10,4 +10,9 @@ resources:
configMapGenerator:
- name: coturn-conf
files:
- config/turnserver.conf
- config/turnserver.conf
patches:
- path: overlay.yaml
target:
kind: DaemonSet
labelSelector: app.kubernetes.io/name=coturn

14
coturn/overlay.yaml Normal file
View File

@@ -0,0 +1,14 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: coturn
spec:
selector: {}
template:
spec:
volumes:
- name: certs
secret:
secretName: wetofu-me-certs
optional: false