fix(mycloud-matrix): Add client cinny
This commit is contained in:
parent
c5bf68c60c
commit
bd999f8ec5
2 changed files with 75 additions and 0 deletions
70
mycloud-matrix/templates/clients/cinny.yaml
Normal file
70
mycloud-matrix/templates/clients/cinny.yaml
Normal file
|
@ -0,0 +1,70 @@
|
|||
{{- if .Values.ingress.cinny.enabled }}
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: OCIRepository
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}-cinny"
|
||||
spec:
|
||||
url: oci://codeberg.org/wrenix/helm-charts/cinny
|
||||
interval: 10m
|
||||
ref:
|
||||
semver: "^0.2.1"
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}-cinny"
|
||||
spec:
|
||||
chartRef:
|
||||
kind: OCIRepository
|
||||
name: "{{ .Release.Name }}-cinny"
|
||||
install:
|
||||
{{- toYaml .Values.commons.helm.release.install | nindent 4 }}
|
||||
test:
|
||||
{{- toYaml .Values.commons.helm.release.test | nindent 4 }}
|
||||
upgrade:
|
||||
{{- toYaml .Values.commons.helm.release.upgrade | nindent 4 }}
|
||||
driftDetection:
|
||||
{{- toYaml .Values.commons.helm.release.driftDetection | nindent 4 }}
|
||||
interval: 10m
|
||||
values:
|
||||
{{- $host := .Values.ingress.cinny.host | default (printf "cinny.%s" .Values.commons.ingress.domain) }}
|
||||
config:
|
||||
defaultHomeserver: 1
|
||||
homeserverList:
|
||||
- {{ include "mycloud-matrix.domain" . | quote }}
|
||||
allowCustomHomeservers: false
|
||||
{{- if .Values.commons.networkpolicies.enabled }}
|
||||
networkPolicy:
|
||||
enabled: true
|
||||
ingress:
|
||||
http:
|
||||
{{- toYaml .Values.commons.networkpolicies.from.ingress | nindent 10 }}
|
||||
egress:
|
||||
enabled: true
|
||||
{{- end }}
|
||||
ingress:
|
||||
enabled: true
|
||||
annotations:
|
||||
{{- with .Values.commons.ingress.annotations }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.ingress.cinny.annotations }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
hosts:
|
||||
- host: {{ $host | quote }}
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
{{- if .Values.commons.ingress.tls.enabled }}
|
||||
tls:
|
||||
{{- with .Values.commons.ingress.tls.override }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- else }}
|
||||
- secretName: "{{ .Release.Name }}-cinny-cert"
|
||||
hosts:
|
||||
- "{{ $host }}"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
|
@ -208,6 +208,11 @@ ingress:
|
|||
# -- default: hydrogen.(.commons.ingress.domain)
|
||||
host:
|
||||
annotations: {}
|
||||
cinny:
|
||||
enabled: false
|
||||
# -- default: cinny.(.commons.ingress.domain)
|
||||
host:
|
||||
annotations: {}
|
||||
livekit:
|
||||
enabled: false
|
||||
# -- default: sfu.call.(.commons.ingress.domain)
|
||||
|
|
Loading…
Add table
Reference in a new issue