create tempalte name for passFile

This commit is contained in:
2024-03-30 14:43:13 -06:00
parent 46effc5599
commit ff7fb92c19
3 changed files with 14 additions and 3 deletions

View File

@@ -61,8 +61,8 @@ spec:
subPath: registration.yml
readOnly: true
- name: passkey
mountPath: "/data/{{ .Values.hookshot.config.passFile }}"
subPath: "{{ .Values.hookshot.config.passFile }}"
mountPath: "/data/{{ template "hookshot.passFile" . }}"
subPath: {{ template "hookshot.passFile" . }}
readOnly: true
volumes:
- name: config