fix(grampsweb): improve configuration (add MEDIA_PREFIX_TREE)
This commit is contained in:
parent
dac942fc6f
commit
5706e787d6
5 changed files with 22 additions and 11 deletions
|
@ -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.13
|
||||
version: 0.1.14
|
||||
# renovate: image=ghcr.io/gramps-project/grampsweb
|
||||
appVersion: "24.7.0"
|
||||
maintainers:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
= grampsweb
|
||||
|
||||
image::https://img.shields.io/badge/Version-0.1.13-informational?style=flat-square[Version: 0.1.13]
|
||||
image::https://img.shields.io/badge/Version-0.1.14-informational?style=flat-square[Version: 0.1.14]
|
||||
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
|
||||
image::https://img.shields.io/badge/AppVersion-24.7.0-informational?style=flat-square[AppVersion: 24.7.0]
|
||||
== Maintainers
|
||||
|
@ -80,7 +80,7 @@ helm uninstall grampsweb-release
|
|||
| gramps.baseURL
|
||||
| string
|
||||
| `"https://gramps.example.org"`
|
||||
|
|
||||
| Base URL where the API can be reached (e.g. https://mygramps.mydomain.com/). This is necessary e.g. to build correct passwort reset links
|
||||
|
||||
| gramps.mail.from
|
||||
| string
|
||||
|
@ -112,10 +112,15 @@ helm uninstall grampsweb-release
|
|||
| `nil`
|
||||
| SMTP server username
|
||||
|
||||
| gramps.mediaPrefixTree
|
||||
| bool
|
||||
| `false`
|
||||
| whether or not to use a separate subfolder for the media files of each tree. Defaults to False, but strongly recommend to use True in a multi-tree setup
|
||||
|
||||
| gramps.tree
|
||||
| string
|
||||
| `"Gramps Web"`
|
||||
|
|
||||
| To enable multi-tree support, the TREE config option must be set to a single asterisk `*`
|
||||
|
||||
| image.pullPolicy
|
||||
| string
|
||||
|
|
|
@ -36,13 +36,6 @@ spec:
|
|||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "v%s" .Chart.AppVersion) }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
{{- with .Values.gramps }}
|
||||
env:
|
||||
- name: "GRAMPSWEB_TREE"
|
||||
value: "{{ .tree }}"
|
||||
- name: "GRAMPSWEB_BASE_URL"
|
||||
value: "{{ .baseURL }}"
|
||||
{{- end }}
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: {{ include "grampsweb.fullname" . }}
|
||||
|
|
|
@ -6,6 +6,15 @@ metadata:
|
|||
labels:
|
||||
{{- include "grampsweb.labels" . | nindent 4 }}
|
||||
data:
|
||||
{{- with .Values.gramps.baseURL }}
|
||||
GRAMPSWEB_BASE_URL: {{ . | b64enc }}
|
||||
{{- end }}
|
||||
{{- with .Values.gramps.tree }}
|
||||
GRAMPSWEB_TREE: {{ . | b64enc }}
|
||||
{{- end }}
|
||||
{{- with .Values.gramps.mediaPrefixTree }}
|
||||
GRAMPSWEB_MEDIA_PREFIX_TREE: {{ . | ternary "TRUE" "FALSE" | b64enc }}
|
||||
{{- end }}
|
||||
{{- with .Values.gramps.mediaBaseDir }}
|
||||
GRAMPSWEB_MEDIA_BASE_DIR: {{ . | b64enc }}
|
||||
{{- end }}
|
||||
|
|
|
@ -16,8 +16,12 @@ nameOverride: ""
|
|||
fullnameOverride: ""
|
||||
|
||||
gramps:
|
||||
# -- To enable multi-tree support, the TREE config option must be set to a single asterisk `*`
|
||||
tree: "Gramps Web"
|
||||
# -- Base URL where the API can be reached (e.g. https://mygramps.mydomain.com/). This is necessary e.g. to build correct passwort reset links
|
||||
baseURL: "https://gramps.example.org"
|
||||
# -- whether or not to use a separate subfolder for the media files of each tree. Defaults to False, but strongly recommend to use True in a multi-tree setup
|
||||
mediaPrefixTree: false
|
||||
mail:
|
||||
# -- SMTP server host (e.g. for sending password reset e-mails)
|
||||
host:
|
||||
|
|
Loading…
Add table
Reference in a new issue