fix(pretix): add global (and improve docs)
This commit is contained in:
parent
0ab3d22506
commit
e7fa2e477a
4 changed files with 33 additions and 23 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
name: pretix
|
||||
description: Reinventing ticket presales, one ticket at a time.
|
||||
type: application
|
||||
version: "0.1.9"
|
||||
version: "0.1.10"
|
||||
# renovate: image=docker.io/pretix/standalone
|
||||
appVersion: "2025.1.0"
|
||||
keywords:
|
||||
|
|
|
@ -7,7 +7,7 @@ description: "Reinventing ticket presales, one ticket at a time."
|
|||
|
||||
# pretix
|
||||
|
||||
  
|
||||
  
|
||||
|
||||
Reinventing ticket presales, one ticket at a time.
|
||||
|
||||
|
@ -87,13 +87,15 @@ helm uninstall pretix-release
|
|||
| env.PRETIX_REDIS_LOCATION | string | `"redis://:changeme@pretix-redis-master/0"` | |
|
||||
| env.PRETIX_REDIS_SESSIONS | bool | `true` | |
|
||||
| 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 |
|
||||
| grafana.dashboards.annotations | object | `{}` | |
|
||||
| grafana.dashboards.enabled | bool | `false` | |
|
||||
| grafana.dashboards.labels.grafana_dashboard | string | `"1"` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.registry | string | `"docker.io"` | |
|
||||
| image.repository | string | `"pretix/standalone"` | |
|
||||
| image.tag | string | `""` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | This sets the pull policy for images. (could be overwritten by global.image.pullPolicy) |
|
||||
| image.registry | string | `"docker.io"` | image registry (could be overwritten by global.image.registry) |
|
||||
| image.repository | string | `"pretix/standalone"` | image repository |
|
||||
| image.tag | string | `""` | image tag - Overrides the image tag whose default is the chart appVersion. |
|
||||
| imagePullSecrets | list | `[]` | |
|
||||
| ingress.annotations | object | `{}` | |
|
||||
| ingress.className | string | `""` | |
|
||||
|
@ -143,8 +145,8 @@ helm uninstall pretix-release
|
|||
| redis.global.storageClass | string | `""` | |
|
||||
| redis.master.persistence.enabled | bool | `true` | |
|
||||
| redis.replica.persistence.enabled | bool | `true` | |
|
||||
| replicas.taskworker | int | `1` | |
|
||||
| replicas.web | int | `1` | |
|
||||
| replicas.taskworker | int | `1` | replicas of taskworker |
|
||||
| replicas.web | int | `1` | replicas of web service |
|
||||
| resources | object | `{}` | |
|
||||
| securityContext | object | `{}` | |
|
||||
| service.port | int | `80` | |
|
||||
|
@ -160,7 +162,7 @@ helm uninstall pretix-release
|
|||
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
|
||||
# pretix
|
||||
|
||||
  
|
||||
  
|
||||
|
||||
Reinventing ticket presales, one ticket at a time.
|
||||
|
||||
|
@ -218,13 +220,15 @@ Reinventing ticket presales, one ticket at a time.
|
|||
| env.PRETIX_REDIS_LOCATION | string | `"redis://:changeme@pretix-redis-master/0"` | |
|
||||
| env.PRETIX_REDIS_SESSIONS | bool | `true` | |
|
||||
| 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 |
|
||||
| grafana.dashboards.annotations | object | `{}` | |
|
||||
| grafana.dashboards.enabled | bool | `false` | |
|
||||
| grafana.dashboards.labels.grafana_dashboard | string | `"1"` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.registry | string | `"docker.io"` | |
|
||||
| image.repository | string | `"pretix/standalone"` | |
|
||||
| image.tag | string | `""` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | This sets the pull policy for images. (could be overwritten by global.image.pullPolicy) |
|
||||
| image.registry | string | `"docker.io"` | image registry (could be overwritten by global.image.registry) |
|
||||
| image.repository | string | `"pretix/standalone"` | image repository |
|
||||
| image.tag | string | `""` | image tag - Overrides the image tag whose default is the chart appVersion. |
|
||||
| imagePullSecrets | list | `[]` | |
|
||||
| ingress.annotations | object | `{}` | |
|
||||
| ingress.className | string | `""` | |
|
||||
|
@ -274,8 +278,8 @@ Reinventing ticket presales, one ticket at a time.
|
|||
| redis.global.storageClass | string | `""` | |
|
||||
| redis.master.persistence.enabled | bool | `true` | |
|
||||
| redis.replica.persistence.enabled | bool | `true` | |
|
||||
| replicas.taskworker | int | `1` | |
|
||||
| replicas.web | int | `1` | |
|
||||
| replicas.taskworker | int | `1` | replicas of taskworker |
|
||||
| replicas.web | int | `1` | replicas of web service |
|
||||
| resources | object | `{}` | |
|
||||
| securityContext | object | `{}` | |
|
||||
| service.port | int | `80` | |
|
||||
|
|
|
@ -41,8 +41,8 @@ spec:
|
|||
securityContext:
|
||||
{{- toYaml $.Values.securityContext | nindent 12 }}
|
||||
{{- with $.Values.image }}
|
||||
image: "{{ .registry }}/{{ .repository }}:{{ .tag | default $.Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .pullPolicy }}
|
||||
image: "{{ coalesce $.Values.global.image.registry .registry }}/{{ .repository }}:{{ .tag | default $.Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ coalesce $.Values.global.image.pullPolicy .pullPolicy }}
|
||||
{{- end }}
|
||||
env:
|
||||
# Migrations are handled by helm hooks in pretix-migrate.yaml
|
||||
|
|
|
@ -1,19 +1,25 @@
|
|||
# Default values for pretix.
|
||||
# This is a YAML-formatted file.
|
||||
# Declare variables to be passed into your templates.
|
||||
global:
|
||||
image:
|
||||
# -- if set it will overwrite all registry entries
|
||||
registry:
|
||||
# -- if set it will overwrite all pullPolicy
|
||||
pullPolicy:
|
||||
|
||||
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
|
||||
replicas:
|
||||
# -- replicas of web service
|
||||
web: 1
|
||||
# -- replicas of taskworker
|
||||
taskworker: 1
|
||||
|
||||
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
|
||||
image:
|
||||
# -- image registry (could be overwritten by global.image.registry)
|
||||
registry: docker.io
|
||||
# -- image repository
|
||||
repository: pretix/standalone
|
||||
# This sets the pull policy for images.
|
||||
# -- This sets the pull policy for images. (could be overwritten by global.image.pullPolicy)
|
||||
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: ""
|
||||
|
||||
cronSchedule: "*/30 * * * *"
|
||||
|
|
Loading…
Add table
Reference in a new issue