fix(grampsweb): environment variable name

This commit is contained in:
WrenIX 2024-01-20 15:07:11 +01:00
parent 2715b75c90
commit 8c589d1516
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
4 changed files with 11 additions and 11 deletions

View file

@ -3,7 +3,7 @@ name: grampsweb
description: A Helm chart for gramps web
icon: https://raw.githubusercontent.com/gramps-project/Gramps.js/main/images/icon512.png
type: application
version: 0.1.3
version: 0.1.4
appVersion: "24.1.0"
maintainers:
- name: WrenIX

View file

@ -2,7 +2,7 @@
= grampsweb
image::https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square[Version: 0.1.3]
image::https://img.shields.io/badge/Version-0.1.4-informational?style=flat-square[Version: 0.1.4]
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
image::https://img.shields.io/badge/AppVersion-24.1.0-informational?style=flat-square[AppVersion: 24.1.0]
== Maintainers

View file

@ -38,9 +38,9 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- with .Values.gramps }}
env:
- name: "TREE"
- name: "GRAMPSWEB_TREE"
value: "{{ .tree }}"
- name: "BASE_URL"
- name: "GRAMPSWEB_BASE_URL"
value: "{{ .baseURL }}"
{{- end }}
envFrom:

View file

@ -7,23 +7,23 @@ metadata:
{{- include "grampsweb.labels" . | nindent 4 }}
data:
{{- with .Values.gramps.mediaBaseDir }}
MEDIA_BASE_DIR: {{ . | b64enc }}
GRAMPSWEB_MEDIA_BASE_DIR: {{ . | b64enc }}
{{- end }}
{{- with .Values.gramps.mail.host }}
EMAIL_HOST: {{ toYaml . | b64enc }}
GRAMPSWEB_EMAIL_HOST: {{ toYaml . | b64enc }}
{{- end }}
{{- with .Values.gramps.mail.port }}
EMAIL_PORT: {{ toYaml . | b64enc }}
GRAMPSWEB_EMAIL_PORT: {{ toYaml . | b64enc }}
{{- end }}
{{- with .Values.gramps.mail.username }}
EMAIL_HOST_USER: {{ toYaml . | b64enc }}
GRAMPSWEB_EMAIL_HOST_USER: {{ toYaml . | b64enc }}
{{- end }}
{{- with .Values.gramps.mail.password }}
EMAIL_HOST_PASSWORD: {{ toYaml . | b64enc }}
GRAMPSWEB_EMAIL_HOST_PASSWORD: {{ toYaml . | b64enc }}
{{- end }}
{{- with .Values.gramps.mail.useTLS }}
EMAIL_USE_TLS: {{ toYaml . | b64enc }}
GRAMPSWEB_EMAIL_USE_TLS: {{ toYaml . | b64enc }}
{{- end }}
{{- with .Values.gramps.mail.from }}
DEFAULT_FROM_EMAIL: {{ toYaml . | b64enc }}
GRAMPSWEB_DEFAULT_FROM_EMAIL: {{ toYaml . | b64enc }}
{{- end }}