matrix-synapse: Reduce scripts to hook ussage
This should hopefully make the chart friendlier with Flux
This commit is contained in:
parent
27d20ebf5e
commit
db32226fb5
3 changed files with 4 additions and 8 deletions
|
@ -6,7 +6,7 @@ icon: https://matrix.org/images/matrix-logo.svg
|
|||
appVersion: 1.79.0
|
||||
|
||||
type: application
|
||||
version: 3.2.1
|
||||
version: 3.2.2
|
||||
maintainers:
|
||||
- name: Alexander Olofsson
|
||||
email: ace@haxalot.com
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{- if .Values.signingkey.job.enabled }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
|
@ -7,6 +8,7 @@ metadata:
|
|||
{{- include "matrix-synapse.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
helm.sh/hook: pre-install
|
||||
helm.sh/resource-policy: keep
|
||||
helm.sh/hook-delete-policy: hook-succeeded
|
||||
data:
|
||||
{{ (.Files.Glob "scripts/*.sh").AsConfig | indent 2 }}
|
||||
{{- end }}
|
||||
|
|
|
@ -133,8 +133,6 @@ spec:
|
|||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /synapse/config
|
||||
- name: scripts
|
||||
mountPath: /opt/k8s-synapse
|
||||
- name: tmpconf
|
||||
mountPath: /synapse/config/conf.d
|
||||
- name: secrets
|
||||
|
@ -154,10 +152,6 @@ spec:
|
|||
- name: config
|
||||
configMap:
|
||||
name: {{ include "matrix-synapse.fullname" . }}
|
||||
- name: scripts
|
||||
configMap:
|
||||
name: {{ include "matrix-synapse.fullname" . }}-scripts
|
||||
defaultMode: 0755
|
||||
- name: secrets
|
||||
secret:
|
||||
secretName: {{ include "matrix-synapse.fullname" . }}
|
||||
|
|
Loading…
Reference in a new issue