Merge branch 'master' of gitlab.com:ananace/charts

This commit is contained in:
fkf9 2021-09-14 14:46:45 +02:00
commit 0f448b1e3e
9 changed files with 59 additions and 44 deletions

View file

@ -7,10 +7,10 @@ description: |
Talk to everyone through the open global Matrix network, protected by proper Talk to everyone through the open global Matrix network, protected by proper
end-to-end encryption. end-to-end encryption.
icon: https://element.io/images/element-logo.svg icon: https://element.io/images/element-logo.svg
appVersion: 1.8.2 appVersion: 1.8.4
type: application type: application
version: 1.0.33 version: 1.0.34
maintainers: maintainers:
- name: Alexander Olofsson - name: Alexander Olofsson

View file

@ -1,9 +1,9 @@
{{- if .Values.ingress.enabled -}} {{- if .Values.ingress.enabled -}}
{{- $fullName := include "element-web.fullname" . -}} {{- $fullName := include "element-web.fullname" . -}}
{{- $svcPort := .Values.service.port -}} {{- $svcPort := .Values.service.port -}}
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} {{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }}
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
{{- else -}} {{- else }}
apiVersion: networking.k8s.io/v1beta1 apiVersion: networking.k8s.io/v1beta1
{{- end }} {{- end }}
kind: Ingress kind: Ingress
@ -32,14 +32,15 @@ spec:
http: http:
paths: paths:
- path: / - path: /
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
pathType: Prefix pathType: Prefix
{{- end }} {{- end }}
backend: backend:
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service: service:
name: {{ $fullName }} name: {{ $fullName }}
port: {{ $svcPort }} port:
number: {{ $svcPort }}
{{- else }} {{- else }}
serviceName: {{ $fullName }} serviceName: {{ $fullName }}
servicePort: {{ $svcPort }} servicePort: {{ $svcPort }}

View file

@ -41,7 +41,8 @@ spec:
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} {{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }}
service: service:
name: {{ $fullName }} name: {{ $fullName }}
port: http port:
name: http
{{- else }} {{- else }}
serviceName: {{ $fullName }} serviceName: {{ $fullName }}
servicePort: http servicePort: http

View file

@ -40,7 +40,8 @@ spec:
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} {{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }}
service: service:
name: {{ $fullName }} name: {{ $fullName }}
port: {{ $svcPort }} port:
number: {{ $svcPort }}
{{- else }} {{- else }}
serviceName: {{ $fullName }} serviceName: {{ $fullName }}
servicePort: {{ $svcPort }} servicePort: {{ $svcPort }}

View file

@ -3,10 +3,10 @@ apiVersion: v2
name: matrix-synapse name: matrix-synapse
description: Matrix reference homeserver description: Matrix reference homeserver
icon: https://matrix.org/images/matrix-logo.svg icon: https://matrix.org/images/matrix-logo.svg
appVersion: 1.41.1 appVersion: 1.42.0
type: application type: application
version: 2.1.8 version: 2.1.9
maintainers: maintainers:
- name: Alexander Olofsson - name: Alexander Olofsson
email: ace@haxalot.com email: ace@haxalot.com

View file

@ -1,9 +1,9 @@
{{- if .Values.ingress.enabled -}} {{- if .Values.ingress.enabled -}}
{{- $fullName := include "matrix-synapse.fullname" . -}} {{- $fullName := include "matrix-synapse.fullname" . -}}
{{- $wkName := include "matrix-synapse.externalname" (dict "global" . "external" "wellknown-lighttpd") -}} {{- $wkName := include "matrix-synapse.externalname" (dict "global" . "external" "wellknown-lighttpd") -}}
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} {{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }}
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
{{- else -}} {{- else }}
apiVersion: networking.k8s.io/v1beta1 apiVersion: networking.k8s.io/v1beta1
{{- end }} {{- end }}
kind: Ingress kind: Ingress
@ -59,28 +59,30 @@ spec:
{{- range $config.csPaths }} {{- range $config.csPaths }}
{{- if $.Values.ingress.traefikPaths }} {{- if $.Values.ingress.traefikPaths }}
- path: {{ printf "/{path:%s}" (trimPrefix "/" .) | quote }} - path: {{ printf "/{path:%s}" (trimPrefix "/" .) | quote }}
{{ if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
pathType: ImplementationSpecific pathType: ImplementationSpecific
{{- end }} {{- end }}
backend: backend:
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service: service:
name: {{ $service }} name: {{ $service }}
port: 8083 port:
number: 8083
{{- else }} {{- else }}
serviceName: {{ $service }} serviceName: {{ $service }}
servicePort: 8083 servicePort: 8083
{{- end }} {{- end }}
{{- else }} {{- else }}
- path: {{ . | quote }} - path: {{ . | quote }}
{{ if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
pathType: ImplementationSpecific pathType: ImplementationSpecific
{{- end }} {{- end }}
backend: backend:
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service: service:
name: {{ $service }} name: {{ $service }}
port: 8083 port:
number: 8083
{{- else }} {{- else }}
serviceName: {{ $service }} serviceName: {{ $service }}
servicePort: 8083 servicePort: 8083
@ -92,28 +94,30 @@ spec:
{{- range $config.paths }} {{- range $config.paths }}
{{- if $.Values.ingress.traefikPaths }} {{- if $.Values.ingress.traefikPaths }}
- path: {{ printf "/{path:%s}" (trimPrefix "/" .) | quote }} - path: {{ printf "/{path:%s}" (trimPrefix "/" .) | quote }}
{{ if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
pathType: ImplementationSpecific pathType: ImplementationSpecific
{{- end }} {{- end }}
backend: backend:
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service: service:
name: {{ $service }} name: {{ $service }}
port: 8083 port:
number: 8083
{{- else }} {{- else }}
serviceName: {{ $service }} serviceName: {{ $service }}
servicePort: 8083 servicePort: 8083
{{- end }} {{- end }}
{{- else }} {{- else }}
- path: {{ . | quote }} - path: {{ . | quote }}
{{ if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
pathType: ImplementationSpecific pathType: ImplementationSpecific
{{- end }} {{- end }}
backend: backend:
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service: service:
name: {{ $service }} name: {{ $service }}
port: 8083 port:
number: 8083
{{- else }} {{- else }}
serviceName: {{ $service }} serviceName: {{ $service }}
servicePort: 8083 servicePort: 8083
@ -137,14 +141,15 @@ spec:
{{- if or (has . $csHosts) (has . $s2sHosts) }} {{- if or (has . $csHosts) (has . $s2sHosts) }}
- path: /_matrix - path: /_matrix
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
pathType: Prefix pathType: Prefix
{{- end }} {{- end }}
backend: backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service: service:
name: {{ $fullName }} name: {{ $fullName }}
port: 8008 port:
number: 8008
{{- else }} {{- else }}
serviceName: {{ $fullName }} serviceName: {{ $fullName }}
servicePort: 8008 servicePort: 8008
@ -153,14 +158,15 @@ spec:
{{- if and (has . $csHosts) $.Values.ingress.includeUnderscoreSynapse }} {{- if and (has . $csHosts) $.Values.ingress.includeUnderscoreSynapse }}
- path: /_synapse - path: /_synapse
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
pathType: Prefix pathType: Prefix
{{- end }} {{- end }}
backend: backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service: service:
name: {{ $fullName }} name: {{ $fullName }}
port: 8008 port:
number: 8008
{{- else }} {{- else }}
serviceName: {{ $fullName }} serviceName: {{ $fullName }}
servicePort: 8008 servicePort: 8008
@ -170,41 +176,44 @@ spec:
{{- if has . $wkHosts }} {{- if has . $wkHosts }}
{{- if $.Values.wellknown.enabled }} {{- if $.Values.wellknown.enabled }}
- path: /.well-known/matrix/client - path: /.well-known/matrix/client
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
pathType: Exact pathType: Exact
{{- end }} {{- end }}
backend: backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service: service:
name: {{ $wkName }} name: {{ $wkName }}
port: 80 port:
{{- else -}} number: 80
{{- else }}
serviceName: {{ $wkName }} serviceName: {{ $wkName }}
servicePort: 80 servicePort: 80
{{- end }} {{- end }}
- path: /.well-known/matrix/server - path: /.well-known/matrix/server
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
pathType: Exact pathType: Exact
{{- end }} {{- end }}
backend: backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service: service:
name: {{ $wkName }} name: {{ $wkName }}
port: 80 port:
number: 80
{{- else }} {{- else }}
serviceName: {{ $wkName }} serviceName: {{ $wkName }}
servicePort: 80 servicePort: 80
{{- end }} {{- end }}
{{- else }} {{- else }}
- path: /.well-known/matrix/client - path: /.well-known/matrix/client
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
pathType: Exact pathType: Exact
{{- end }} {{- end }}
backend: backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} {{ if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service: service:
name: {{ $fullName }} name: {{ $fullName }}
port: 8008 port:
number: 8008
{{- else }} {{- else }}
serviceName: {{ $fullName }} serviceName: {{ $fullName }}
servicePort: 8008 servicePort: 8008

View file

@ -780,7 +780,8 @@ ingress:
# backend: # backend:
# service: # service:
# name: matrix-media-repo # name: matrix-media-repo
# port: 8000 # port:
# number: 8000
# # K8s <1.19 # # K8s <1.19
# - path: /_matrix/media # - path: /_matrix/media
# backend: # backend:

View file

@ -43,7 +43,8 @@ spec:
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} {{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }}
service: service:
name: {{ $fullName }} name: {{ $fullName }}
port: http port:
name: http
{{- else }} {{- else }}
serviceName: {{ $fullName }} serviceName: {{ $fullName }}
servicePort: http servicePort: http

View file

@ -37,7 +37,8 @@ spec:
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} {{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }}
service: service:
name: {{ $fullName }} name: {{ $fullName }}
port: http port:
name: http
{{- else }} {{- else }}
serviceName: {{ $fullName }} serviceName: {{ $fullName }}
servicePort: http servicePort: http