Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/jitsi/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
name: jitsi
version: 0.0.3
version: 0.1.0
8 changes: 5 additions & 3 deletions charts/jitsi/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
spec:
ingressClassName: nginx
rules:
- host: {{ .Values.serverName }}
- host: {{ .Values.ingress.serverName }}
http:
paths:
- pathType: ImplementationSpecific
Expand All @@ -35,5 +35,7 @@ spec:
path: /colibri-ws
tls:
- hosts:
- {{ .Values.serverName }}
secretName: tls
- {{ .Values.ingress.serverName }}
{{- if .Values.ingress.secretName }}
secretName: {{ .Values.ingress.secretName }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/jitsi/templates/jvb-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
- name: TZ
value: {{ .Values.timeZone }}
- name: PUBLIC_URL
value: https://{{ .Values.serverName }}
value: https://{{ .Values.ingress.serverName }}
{{- if .Values.jvb.extraEnvs }}
{{- toYaml .Values.jvb.extraEnvs | nindent 12 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/jitsi/templates/web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
- name: JVB_TCP_HARVESTER_DISABLED
value: "false"
- name: PUBLIC_URL
value: https://{{ .Values.serverName }}
value: https://{{ .Values.ingress.serverName }}
- name: ENABLE_LOBBY
value: "0"
- name: ENABLE_WELCOME_PAGE
Expand Down
5 changes: 4 additions & 1 deletion charts/jitsi/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
serverName: ''
ingress:
serverName: ''
secretName: ''

timeZone: Europe/Amsterdam
jicofo:
replicas: 1
Expand Down
2 changes: 1 addition & 1 deletion charts/redis/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
name: redis
version: 0.0.6
version: 0.1.0
5 changes: 0 additions & 5 deletions charts/redis/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ spec:
metadata:
labels:
app: redis
{{- if .Values.exporter.enabled }}
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "9121"
{{- end }}
spec:
containers:
- name: redis
Expand Down
5 changes: 5 additions & 0 deletions charts/redis/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,10 @@ spec:
- name: redis
port: 6379
targetPort: redis
{{- if .Values.exporter.enabled }}
- name: redis-exporter
port: 9121
targetPort: redis-exporter
{{- ens }}
selector:
app: redis
18 changes: 18 additions & 0 deletions charts/redis/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{{- if .Values.exporter.enabled }}
kind: ServiceMonitor
apiVersion: monitoring.coreos.com/v1
metadata:
name: redis-service
labels:
app: redis
spec:
endpoints:
- interval: 60s
path: /metrics
port: http
jobLabel: redis-exporter
selector:
matchLabels:
app: redis
---
{{- end }}
2 changes: 1 addition & 1 deletion charts/synapse/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
name: synapse
version: 0.4.5
version: 0.5.0
4 changes: 4 additions & 0 deletions charts/synapse/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ component: matrix-authentication
Workers annotations
*/}}
{{- define "synapse-workers.annotations" -}}
scrapeMetrics9092: "true"
prometheus.io/port: "9092"
prometheus.io/scrape: "true"
prometheus.io/path: "/_synapse/metrics"
Expand Down Expand Up @@ -71,6 +72,9 @@ containers:
- containerPort: 8008
name: http
protocol: TCP
- containerPort: 9092
name: metrics
protocol: TCP
volumeMounts:
- name: synapse-{{ .name }}-config
mountPath: /data
Expand Down
8 changes: 6 additions & 2 deletions charts/synapse/templates/admin-ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.admin.ingress.enabled }}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
Expand All @@ -10,10 +11,12 @@ spec:
ingressClassName: nginx
tls:
- hosts:
- {{ .Values.admin.serverName }}
- {{ .Values.admin.ingress.serverName }}
{{- if .Values.admin.ingress.secretName }}
secretName: tls
{{- end }}
rules:
- host: {{ .Values.admin.serverName }}
- host: {{ .Values.admin.ingress.serverName }}
http:
paths:
- path: /
Expand All @@ -23,3 +26,4 @@ spec:
name: admin
port:
number: 80
{{- end }}
5 changes: 0 additions & 5 deletions charts/synapse/templates/envoy-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ spec:
labels:
{{- include "synapse-client-reader-envoy.selectorLabels" . | nindent 8 }}
annotations:
{{- if .Values.envoyProxy.metrics }}
prometheus.io/port: "9901"
prometheus.io/scrape: "true"
prometheus.io/path: "/stats/prometheus"
{{- end }}
checksum/config: {{ .Files.Get "scripts/envoy.yaml" | sha256sum }}
{{- with .Values.envoyProxy.podAnnotations }}
{{- toYaml . | nindent 8 }}
Expand Down
18 changes: 18 additions & 0 deletions charts/synapse/templates/envoy-servicemonitor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{{- if .Values.envoyProxy.metrics }}
kind: ServiceMonitor
apiVersion: monitoring.coreos.com/v1
metadata:
name: envoy-service
labels:
{{- include "synapse-client-reader-envoy.selectorLabels" . | nindent 4 }}
spec:
endpoints:
- interval: 60s
path: /stats/prometheus
port: http-admin
jobLabel: envoy-service
selector:
matchLabels:
{{- include "synapse-client-reader-envoy.selectorLabels" . | nindent 6 }}
---
{{- end }}
4 changes: 3 additions & 1 deletion charts/synapse/templates/matrix-authentication-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ spec:
tls:
- hosts:
- {{ .Values.matrixAuthentication.ingress.host }}
secretName: tls
{{- if .Values.matrixAuthentication.ingress.secretName }}
secretName: {{ .Values.matrixAuthentication.ingress.secretName }}
{{- end }}
rules:
- host: {{ .Values.matrixAuthentication.ingress.host }}
http:
Expand Down
4 changes: 3 additions & 1 deletion charts/synapse/templates/sliding-sync-proxy-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ spec:
tls:
- hosts:
- {{ .Values.slidingSyncProxy.ingress.host }}
secretName: tls
{{- if .Values.slidingSyncProxy.ingress.secretName }}
secretName: {{ .Values.slidingSyncProxy.ingress.secretName }}
{{- end }}
rules:
- host: {{ .Values.slidingSyncProxy.ingress.host }}
http:
Expand Down
4 changes: 3 additions & 1 deletion charts/synapse/templates/synapse-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ spec:
tls:
- hosts:
- {{ .Values.synapse.serverName }}
secretName: tls
{{- if .Values.ingress.secretName }}
secretName: {{ .Values.ingress.secretName }}
{{- end }}
rules:
- host: {{ .Values.synapse.serverName }}
http:
Expand Down
14 changes: 14 additions & 0 deletions charts/synapse/templates/synapse-podmonitor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{{- if .Values.synapse.podMonitor.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: synapse-metrics
spec:
selector:
matchLabels:
scrapeMetrics9092: 'true'
podMetricsEndpoints:
- port: metrics
path: "/_synapse/metrics"
---
{{- end }}
4 changes: 3 additions & 1 deletion charts/synapse/templates/well-known-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ spec:
tls:
- hosts:
- {{ .Values.synapse.serverName }}
secretName: tls
{{- if .Values.ingress.secretName }}
secretName: {{ .Values.ingress.secretName }}
{{- end }}
rules:
- host: {{ .Values.synapse.serverName }}
http:
Expand Down
11 changes: 10 additions & 1 deletion charts/synapse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ synapse:
host: redis
port: 6379

podMonitor:
enabled: false

rc_message:
per_second: 100
burst_count: 300
Expand Down Expand Up @@ -176,6 +179,7 @@ experimentalFeatures:
account_management_url: NOT-CONFIGURED

ingress:
secretName: ''
masterRoutes:
- "/_matrix/"
- "/_synapse/"
Expand Down Expand Up @@ -297,7 +301,10 @@ ingress:
# "/_matrix/client/(r0|v3|unstable)/user_directory/search$"

admin:
serverName: NOT-CONFIGURED
ingress:
enabled: true
secretName: ''
serverName: NOT-CONFIGURED
image:
repository: "awesometechnologies/synapse-admin"
tag: "0.10.1"
Expand Down Expand Up @@ -343,6 +350,7 @@ slidingSyncProxy:
ingress:
enabled: true
host: NOT-CONFIGURED
secretName: ''
env:
SYNCV3_DB: NOT-CONFIGURED
SYNCV3_SERVER: NOT-CONFIGURED
Expand Down Expand Up @@ -438,6 +446,7 @@ matrixAuthentication:
ingress:
enabled: true
host: NOT-CONFIGURED
secretName: ''
config:
clients: []
database:
Expand Down
2 changes: 1 addition & 1 deletion charts/webhook/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
name: webhook
version: 0.0.8
version: 0.1.0
4 changes: 3 additions & 1 deletion charts/webhook/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ spec:
tls:
- hosts:
- {{ .Values.ingress.host }}
secretName: {{ .Values.ingress.host }}
{{- if .Values.ingress.secretName }}
secretName: {{ .Values.ingress.secretName }}
{{- end }}
rules:
- host: {{ .Values.ingress.host }}
http:
Expand Down
1 change: 1 addition & 0 deletions charts/webhook/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ matrix:
token: ""
ingress:
host: ""
secretName: ""
ingressClassName: nginx