blob: ecc36fec1408e116511e4834c364a9786f4e5b71 [file] [log] [blame]
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: matrix
namespace: {{ .Global.Id }}
spec:
targetNamespace: {{ .Global.NamespacePrefix }}app-matrix
dependsOn:
- name: matrix-storage
namespace: {{ .Global.Id }}
chart:
spec:
chart: charts/matrix
sourceRef:
kind: GitRepository
name: pcloud
namespace: {{ .Global.Id }}
interval: 1m0s
values:
domain: {{ .Global.Domain }}
oauth2:
hydraAdmin: http://hydra-admin.{{ .Global.NamespacePrefix }}core-auth.svc.cluster.local
hydraPublic: https://hydra.{{ .Global.Domain }}
clientId: matrix
clientSecret: {{ .Values.MatrixOAuth2ClientSecret }}
secretName: oauth2-client
postgresql:
host: postgres
port: 5432
database: matrix
user: postgres
password: psswd
certificateIssuer: {{ .Global.Id }}-public
ingressClassName: {{ .Global.PCloudEnvName }}-ingress-public
configMerge:
configName: config-to-merge
fileName: to-merge.yaml