fix(grampsweb): add global (and improve docs)
This commit is contained in:
parent
41ae926531
commit
514e251219
4 changed files with 26 additions and 14 deletions
|
@ -3,7 +3,7 @@ name: grampsweb
|
||||||
description: A Helm chart for gramps web
|
description: A Helm chart for gramps web
|
||||||
icon: https://raw.githubusercontent.com/gramps-project/Gramps.js/main/images/icon512.png
|
icon: https://raw.githubusercontent.com/gramps-project/Gramps.js/main/images/icon512.png
|
||||||
type: application
|
type: application
|
||||||
version: "0.2.9"
|
version: "0.2.10"
|
||||||
# renovate: image=ghcr.io/gramps-project/grampsweb
|
# renovate: image=ghcr.io/gramps-project/grampsweb
|
||||||
appVersion: "25.2.0"
|
appVersion: "25.2.0"
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -7,7 +7,7 @@ description: "A Helm chart for gramps web"
|
||||||
|
|
||||||
# grampsweb
|
# grampsweb
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
A Helm chart for gramps web
|
A Helm chart for gramps web
|
||||||
|
|
||||||
|
@ -49,6 +49,8 @@ helm uninstall grampsweb-release
|
||||||
| autoscaling.minReplicas | int | `1` | |
|
| autoscaling.minReplicas | int | `1` | |
|
||||||
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
|
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
|
||||||
| fullnameOverride | string | `""` | |
|
| fullnameOverride | string | `""` | |
|
||||||
|
| global.image.pullPolicy | string | `nil` | if set it will overwrite all pullPolicy |
|
||||||
|
| global.image.registry | string | `nil` | if set it will overwrite all registry entries |
|
||||||
| 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.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 | `nil` | "From" address for automated e-mails |
|
| gramps.mail.from | string | `nil` | "From" address for automated e-mails |
|
||||||
| gramps.mail.host | string | `nil` | SMTP server host (e.g. for sending password reset e-mails) |
|
| gramps.mail.host | string | `nil` | SMTP server host (e.g. for sending password reset e-mails) |
|
||||||
|
@ -58,10 +60,10 @@ helm uninstall grampsweb-release
|
||||||
| gramps.mail.username | string | `nil` | SMTP server username |
|
| gramps.mail.username | string | `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.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 `*` |
|
| gramps.tree | string | `"Gramps Web"` | To enable multi-tree support, the TREE config option must be set to a single asterisk `*` |
|
||||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
| image.pullPolicy | string | `"IfNotPresent"` | This sets the pull policy for images. (could be overwritten by global.image.pullPolicy) |
|
||||||
| image.registry | string | `"ghcr.io"` | |
|
| image.registry | string | `"ghcr.io"` | image registry (could be overwritten by global.image.registry) |
|
||||||
| image.repository | string | `"gramps-project/grampsweb"` | |
|
| image.repository | string | `"gramps-project/grampsweb"` | image repository |
|
||||||
| image.tag | string | `""` | |
|
| image.tag | string | `""` | image tag - Overrides the image tag whose default is the chart appVersion. |
|
||||||
| imagePullSecrets | list | `[]` | |
|
| imagePullSecrets | list | `[]` | |
|
||||||
| ingress.annotations | object | `{}` | |
|
| ingress.annotations | object | `{}` | |
|
||||||
| ingress.className | string | `""` | |
|
| ingress.className | string | `""` | |
|
||||||
|
@ -86,7 +88,7 @@ helm uninstall grampsweb-release
|
||||||
| podAnnotations | object | `{}` | |
|
| podAnnotations | object | `{}` | |
|
||||||
| podLabels | object | `{}` | |
|
| podLabels | object | `{}` | |
|
||||||
| podSecurityContext | object | `{}` | |
|
| podSecurityContext | object | `{}` | |
|
||||||
| replicaCount | int | `1` | |
|
| replicaCount | int | `1` | replicas |
|
||||||
| resources | object | `{}` | |
|
| resources | object | `{}` | |
|
||||||
| securityContext | object | `{}` | |
|
| securityContext | object | `{}` | |
|
||||||
| service.port | int | `5000` | |
|
| service.port | int | `5000` | |
|
||||||
|
|
|
@ -34,8 +34,10 @@ spec:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "v%s" .Chart.AppVersion) }}"
|
{{- with $.Values.image }}
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
image: "{{ coalesce $.Values.global.image.registry .registry }}/{{ .repository }}:{{ .tag | default $.Chart.AppVersion }}"
|
||||||
|
imagePullPolicy: {{ coalesce $.Values.global.image.pullPolicy .pullPolicy }}
|
||||||
|
{{- end }}
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ include "grampsweb.fullname" . }}
|
name: {{ include "grampsweb.fullname" . }}
|
||||||
|
|
|
@ -1,14 +1,22 @@
|
||||||
# Default values for grampsweb.
|
global:
|
||||||
# This is a YAML-formatted file.
|
image:
|
||||||
# Declare variables to be passed into your templates.
|
# -- if set it will overwrite all registry entries
|
||||||
|
registry:
|
||||||
|
# -- if set it will overwrite all pullPolicy
|
||||||
|
pullPolicy:
|
||||||
|
|
||||||
|
|
||||||
|
# -- replicas
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
image:
|
image:
|
||||||
|
# -- image registry (could be overwritten by global.image.registry)
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
|
# -- image repository
|
||||||
repository: gramps-project/grampsweb
|
repository: gramps-project/grampsweb
|
||||||
|
# -- This sets the pull policy for images. (could be overwritten by global.image.pullPolicy)
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# -- image tag - Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: ""
|
tag: ""
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
|
Loading…
Add table
Reference in a new issue