2024-07-03 20:17:07 +00:00
|
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
|
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: dendrite
|
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
interval: 5m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
2024-10-17 01:32:18 +00:00
|
|
|
version: 3.4.0
|
2024-07-03 20:17:07 +00:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjws-charts
|
|
|
|
namespace: flux-system
|
|
|
|
|
|
|
|
values:
|
|
|
|
controllers:
|
|
|
|
main:
|
|
|
|
# pod:
|
|
|
|
# securityContext:
|
|
|
|
# runAsNonRoot: true
|
|
|
|
# runAsUser: 10000
|
|
|
|
# runAsGroup: 10000
|
|
|
|
# fsGroup: 10000
|
|
|
|
# fsGroupChangePolicy: OnRootMismatch
|
|
|
|
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
image:
|
|
|
|
repository: matrixdotorg/dendrite-monolith
|
2024-09-13 19:09:54 +00:00
|
|
|
tag: v0.13.8
|
2024-07-03 20:17:07 +00:00
|
|
|
|
|
|
|
service:
|
|
|
|
app:
|
|
|
|
controller: main
|
|
|
|
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: 8008
|
|
|
|
|
|
|
|
ingress:
|
|
|
|
main:
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
|
|
|
|
|
|
hosts:
|
|
|
|
- host: "matrix.${SECRET_NEW_DOMAIN}"
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
service:
|
|
|
|
identifier: app
|
|
|
|
port: http
|
|
|
|
- host: "${SECRET_NEW_DOMAIN}"
|
|
|
|
paths:
|
|
|
|
- path: /_matrix
|
|
|
|
service:
|
|
|
|
identifier: app
|
|
|
|
port: http
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
type: configMap
|
|
|
|
# mounts 'matrix_key.pem' and 'config.yaml'
|
|
|
|
name: dendrite-config
|
|
|
|
defaultMode: 0664
|
|
|
|
globalMounts:
|
|
|
|
- path: /etc/dendrite
|
|
|
|
|
2024-10-17 01:19:17 +00:00
|
|
|
data:
|
|
|
|
existingClaim: dendrite
|
2024-07-03 20:17:07 +00:00
|
|
|
globalMounts:
|
2024-10-17 17:22:09 +00:00
|
|
|
- path: /var/dendrite
|