-
Notifications
You must be signed in to change notification settings - Fork 151
/
values.yaml
127 lines (109 loc) · 3.76 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# Default values for mattermost-rtcd.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
image:
repository: mattermost/rtcd
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
# Which deployment method you'd like to use "deployment" or "daemonset"
deploymentType: "deployment"
configuration:
# Only needed if deploymentType is set to "deployment"
replicas: 2
environmentVariables: {}
# All env vars that exist for RTCD: https://github.com/mattermost/rtcd/blob/master/docs/env_config.md
# RTCD_API_SECURITY_ALLOWSELFREGISTRATION: "\"true\""
# RTCD_RTC_ICESERVERS: "'[{\"urls\":[\"stun:stun.global.calls.mattermost.com:3478\"]}]'"
# RTCD_LOGGER_CONSOLELEVEL: "\"DEBUG\""
# RTCD_LOGGER_ENABLEFILE: "\"false\""
# RTCD_RTC_ICEPORTUDP: "\"8443\""
# RTCD_RTC_ICEPORTTCP: "\"8443\""
maxUnavailable: 1 # Only used when updateStrategy is set to "RollingUpdate"
updateStrategy: RollingUpdate
terminationGracePeriod: 18000 # 5 hours
# Add additional mounts
extraVolumes: []
# - hostPath:
# path: /var/log
# name: varlog
extraVolumeMounts: []
# - name: varlog
# mountPath: /host/var/log
# readOnly: true
## Allows the specification of additional environment variables for Mattermost
service:
# APIport is the port that websocket and API uses
APIport: 8045
# RTCport is the port (both UDP and TCP) that will serve calls related traffic (i.e. audio,video)
RTCport: 8443
ingress:
enabled: false
ingressclassname: nginx-calls
annotations:
# nginx.ingress.kubernetes.io/proxy-read-timeout: "86400"
# nginx.ingress.kubernetes.io/proxy-connect-timeout: "86400"
# nginx.ingress.kubernetes.io/proxy-send-timeout: "86400"
# nginx.ingress.kubernetes.io/proxy-buffer-size: "64k"
# nginx.ingress.kubernetes.io/proxy-buffers-number: "8"
# nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
# nginx.ingress.kubernetes.io/proxy-http-version: "1.1"
hosts:
- host: mattermost-rtcd.local
paths:
- "/"
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: {}
dnsConfig: {}
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- mattermost-rtcd
topologyKey: topology.kubernetes.io/zone
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- mattermost-rtcd
topologyKey: topology.kubernetes.io/zone