This repository was archived by the owner on Nov 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11apiVersion : v2
22name : dendrite
3- version : " 0.10.8 "
4- appVersion : " 0.10.8 "
3+ version : " 0.10.9 "
4+ appVersion : " 0.10.9 "
55description : Dendrite Matrix Homeserver
66type : application
77keywords :
Original file line number Diff line number Diff line change 1515
1616
1717{{- define " image.name" -}}
18- image: {{ .name }}
18+ {{- with .Values.image -}}
19+ image: {{ .repository }}:{{ .tag | default (printf " v%s " $ .Chart.AppVersion ) }}
1920imagePullPolicy: {{ .pullPolicy }}
2021{{- end -}}
22+ {{- end -}}
2123
2224{{/*
2325Expand the name of the chart.
Original file line number Diff line number Diff line change 4545 persistentVolumeClaim :
4646 claimName : {{ default (print ( include "dendrite.fullname" . ) "-search-pvc") $.Values.persistence.search.existingClaim | quote }}
4747 containers :
48- - name : {{ $ .Chart.Name }}
49- {{- include "image.name" $.Values.image | nindent 8 }}
48+ - name : {{ .Chart.Name }}
49+ {{- include "image.name" . | nindent 8 }}
5050 args :
5151 - ' --config'
5252 - ' /etc/dendrite/dendrite.yaml'
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ metadata:
88 name : {{ $name }}
99 labels :
1010 app.kubernetes.io/component : signingkey-job
11+ {{- include "dendrite.labels" . | nindent 4 }}
1112---
1213apiVersion : rbac.authorization.k8s.io/v1
1314kind : Role
8081 name : signing-key
8182 readOnly : true
8283 - name : generate-key
83- {{- include "image.name" $.Values.image | nindent 8 }}
84+ {{- include "image.name" . | nindent 8 }}
8485 command :
8586 - sh
8687 - -c
Original file line number Diff line number Diff line change 1313 ports :
1414 - name : http
1515 protocol : TCP
16- port : 8008
16+ port : {{ .Values.service.port }}
1717 targetPort : 8008
Original file line number Diff line number Diff line change 11image :
22 # -- Docker repository/image to use
3- name : " ghcr.io/matrix-org/dendrite-monolith:v0.10.8 "
3+ repository : " ghcr.io/matrix-org/dendrite-monolith"
44 # -- Kubernetes pullPolicy
55 pullPolicy : IfNotPresent
6+ # Overrides the image tag whose default is the chart appVersion.
7+ tag : " "
68
79
810# signing key to use
@@ -345,4 +347,4 @@ ingress:
345347
346348service :
347349 type : ClusterIP
348- port : 80
350+ port : 8008
You can’t perform that action at this time.
0 commit comments