Compare commits
2 Commits
matrix-hoo
...
matrix-hoo
Author | SHA1 | Date | |
---|---|---|---|
ead44d21f7 | |||
ff7fb92c19 |
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: matrix-hookshot
|
name: matrix-hookshot
|
||||||
version: 0.0.6
|
version: 0.0.8
|
||||||
description: Chart for Matrix Hookshot
|
description: Chart for Matrix Hookshot
|
||||||
keywords:
|
keywords:
|
||||||
- matrix
|
- matrix
|
||||||
|
@@ -30,3 +30,14 @@ Helper for passkey secret name
|
|||||||
{{- printf "matrix-hookshot-passkey-secret" }}
|
{{- printf "matrix-hookshot-passkey-secret" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Helper for passkey file name
|
||||||
|
*/}}
|
||||||
|
{{- define "hookshot.passFile" -}}
|
||||||
|
{{- if .Values.hookshot.config.passFile }}
|
||||||
|
{{- printf "%s" .Values.hookshot.config.passFile -}}
|
||||||
|
{{- else }}
|
||||||
|
{{- printf "passkey.pem" }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
@@ -24,7 +24,7 @@ spec:
|
|||||||
app.kubernetes.io/name: matrix-hookshot
|
app.kubernetes.io/name: matrix-hookshot
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: {{ .Release.Name }}
|
serviceAccountName: matrix-hookshot
|
||||||
automountServiceAccountToken: true
|
automountServiceAccountToken: true
|
||||||
containers:
|
containers:
|
||||||
- name: matrix-hookshot
|
- name: matrix-hookshot
|
||||||
@@ -61,8 +61,8 @@ spec:
|
|||||||
subPath: registration.yml
|
subPath: registration.yml
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: passkey
|
- name: passkey
|
||||||
mountPath: "/data/{{ .Values.hookshot.config.passFile }}"
|
mountPath: "/data/{{ template "hookshot.passFile" . }}"
|
||||||
subPath: "{{ .Values.hookshot.config.passFile }}"
|
subPath: {{ template "hookshot.passFile" . }}
|
||||||
readOnly: true
|
readOnly: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
|
Reference in New Issue
Block a user