fix(pretix): redis to persistence

This commit is contained in:
WrenIX 2025-01-18 14:56:59 +01:00
parent b8969440b7
commit e2052a56ff
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
3 changed files with 53 additions and 28 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
name: pretix
description: Reinventing ticket presales, one ticket at a time.
type: application
version: 0.1.3
version: 0.1.4
# renovate: image=docker.io/pretix/standalone
appVersion: "2024.11.0"
keywords:

View file

@ -7,7 +7,7 @@ description: "Reinventing ticket presales, one ticket at a time."
# pretix
![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2024.11.0](https://img.shields.io/badge/AppVersion-2024.11.0-informational?style=flat-square)
![Version: 0.1.4](https://img.shields.io/badge/Version-0.1.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2024.11.0](https://img.shields.io/badge/AppVersion-2024.11.0-informational?style=flat-square)
Reinventing ticket presales, one ticket at a time.
@ -62,8 +62,8 @@ helm uninstall pretix-release
| autoscaling.minReplicas | int | `1` | |
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
| cronSchedule | string | `"*/30 * * * *"` | |
| env.PRETIX_CELERY_BACKEND | string | `"redis://pretix-redis-master/1"` | |
| env.PRETIX_CELERY_BROKER | string | `"redis://pretix-redis-master/2"` | |
| env.PRETIX_CELERY_BACKEND | string | `"redis://:changeme@pretix-redis-master/1"` | |
| env.PRETIX_CELERY_BROKER | string | `"redis://:changeme@pretix-redis-master/2"` | |
| env.PRETIX_DATABASE_BACKEND | string | `"postgresql"` | |
| env.PRETIX_DATABASE_HOST | string | `"pretix-postgresql"` | |
| env.PRETIX_DATABASE_NAME | string | `"pretix"` | |
@ -81,10 +81,10 @@ helm uninstall pretix-release
| env.PRETIX_PRETIX_CURRENCY | string | `"EUR"` | |
| env.PRETIX_PRETIX_DATADIR | string | `"/data"` | |
| env.PRETIX_PRETIX_INSTANCE_NAME | string | `"Pretix Helm"` | |
| env.PRETIX_PRETIX_TRUST_X_FORWARDED_FOR | string | `"on"` | |
| env.PRETIX_PRETIX_TRUST_X_FORWARDED_PROTO | string | `"on"` | |
| env.PRETIX_PRETIX_TRUST_X_FORWARDED_FOR | bool | `true` | |
| env.PRETIX_PRETIX_TRUST_X_FORWARDED_PROTO | bool | `true` | |
| env.PRETIX_PRETIX_URL | string | `"http://localhost"` | |
| env.PRETIX_REDIS_LOCATION | string | `"redis://pretix-redis-master/0"` | |
| env.PRETIX_REDIS_LOCATION | string | `"redis://:changeme@pretix-redis-master/0"` | |
| env.PRETIX_REDIS_SESSIONS | bool | `true` | |
| fullnameOverride | string | `""` | |
| grafana.dashboards.annotations | object | `{}` | |
@ -135,8 +135,14 @@ helm uninstall pretix-release
| readinessProbe.httpGet.path | string | `"/healthcheck/"` | |
| readinessProbe.httpGet.port | string | `"http"` | |
| redis.architecture | string | `"standalone"` | |
| redis.auth.enabled | bool | `false` | |
| redis.auth.enabled | bool | `true` | |
| redis.auth.existingSecret | string | `""` | name of an existing secret with Redis credentials (instead of auth.password), must be created ahead of time |
| redis.auth.existingSecretPasswordKey | string | `""` | Password key to be retrieved from existing secret |
| redis.auth.password | string | `"changeme"` | |
| redis.enabled | bool | `true` | |
| redis.global.storageClass | string | `""` | |
| redis.master.persistence.enabled | bool | `true` | |
| redis.replica.persistence.enabled | bool | `true` | |
| replicas.taskworker | int | `1` | |
| replicas.web | int | `1` | |
| resources | object | `{}` | |
@ -154,7 +160,7 @@ helm uninstall pretix-release
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
# pretix
![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2024.11.0](https://img.shields.io/badge/AppVersion-2024.11.0-informational?style=flat-square)
![Version: 0.1.4](https://img.shields.io/badge/Version-0.1.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2024.11.0](https://img.shields.io/badge/AppVersion-2024.11.0-informational?style=flat-square)
Reinventing ticket presales, one ticket at a time.
@ -187,8 +193,8 @@ Reinventing ticket presales, one ticket at a time.
| autoscaling.minReplicas | int | `1` | |
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
| cronSchedule | string | `"*/30 * * * *"` | |
| env.PRETIX_CELERY_BACKEND | string | `"redis://pretix-redis-master/1"` | |
| env.PRETIX_CELERY_BROKER | string | `"redis://pretix-redis-master/2"` | |
| env.PRETIX_CELERY_BACKEND | string | `"redis://:changeme@pretix-redis-master/1"` | |
| env.PRETIX_CELERY_BROKER | string | `"redis://:changeme@pretix-redis-master/2"` | |
| env.PRETIX_DATABASE_BACKEND | string | `"postgresql"` | |
| env.PRETIX_DATABASE_HOST | string | `"pretix-postgresql"` | |
| env.PRETIX_DATABASE_NAME | string | `"pretix"` | |
@ -206,10 +212,10 @@ Reinventing ticket presales, one ticket at a time.
| env.PRETIX_PRETIX_CURRENCY | string | `"EUR"` | |
| env.PRETIX_PRETIX_DATADIR | string | `"/data"` | |
| env.PRETIX_PRETIX_INSTANCE_NAME | string | `"Pretix Helm"` | |
| env.PRETIX_PRETIX_TRUST_X_FORWARDED_FOR | string | `"on"` | |
| env.PRETIX_PRETIX_TRUST_X_FORWARDED_PROTO | string | `"on"` | |
| env.PRETIX_PRETIX_TRUST_X_FORWARDED_FOR | bool | `true` | |
| env.PRETIX_PRETIX_TRUST_X_FORWARDED_PROTO | bool | `true` | |
| env.PRETIX_PRETIX_URL | string | `"http://localhost"` | |
| env.PRETIX_REDIS_LOCATION | string | `"redis://pretix-redis-master/0"` | |
| env.PRETIX_REDIS_LOCATION | string | `"redis://:changeme@pretix-redis-master/0"` | |
| env.PRETIX_REDIS_SESSIONS | bool | `true` | |
| fullnameOverride | string | `""` | |
| grafana.dashboards.annotations | object | `{}` | |
@ -260,8 +266,14 @@ Reinventing ticket presales, one ticket at a time.
| readinessProbe.httpGet.path | string | `"/healthcheck/"` | |
| readinessProbe.httpGet.port | string | `"http"` | |
| redis.architecture | string | `"standalone"` | |
| redis.auth.enabled | bool | `false` | |
| redis.auth.enabled | bool | `true` | |
| redis.auth.existingSecret | string | `""` | name of an existing secret with Redis credentials (instead of auth.password), must be created ahead of time |
| redis.auth.existingSecretPasswordKey | string | `""` | Password key to be retrieved from existing secret |
| redis.auth.password | string | `"changeme"` | |
| redis.enabled | bool | `true` | |
| redis.global.storageClass | string | `""` | |
| redis.master.persistence.enabled | bool | `true` | |
| redis.replica.persistence.enabled | bool | `true` | |
| replicas.taskworker | int | `1` | |
| replicas.web | int | `1` | |
| resources | object | `{}` | |

View file

@ -23,23 +23,23 @@ env:
PRETIX_PRETIX_URL: http://localhost
PRETIX_PRETIX_CURRENCY: EUR
PRETIX_PRETIX_DATADIR: /data
PRETIX_PRETIX_TRUST_X_FORWARDED_FOR: on
PRETIX_PRETIX_TRUST_X_FORWARDED_PROTO: on
PRETIX_PRETIX_TRUST_X_FORWARDED_FOR: true
PRETIX_PRETIX_TRUST_X_FORWARDED_PROTO: true
PRETIX_MAIL_FROM: test@example.com
PRETIX_MAIL_HOST:
PRETIX_MAIL_USER:
PRETIX_MAIL_PASSWORD:
PRETIX_MAIL_PORT: 587
PRETIX_MAIL_TLS: True
PRETIX_MAIL_TLS: true
PRETIX_DATABASE_BACKEND: postgresql
PRETIX_DATABASE_NAME: pretix
PRETIX_DATABASE_USER: pretix
PRETIX_DATABASE_PASSWORD: pretix
PRETIX_DATABASE_HOST: pretix-postgresql
PRETIX_REDIS_LOCATION: redis://pretix-redis-master/0
PRETIX_REDIS_LOCATION: redis://:changeme@pretix-redis-master/0
PRETIX_REDIS_SESSIONS: true
PRETIX_CELERY_BACKEND: redis://pretix-redis-master/1
PRETIX_CELERY_BROKER: redis://pretix-redis-master/2
PRETIX_CELERY_BACKEND: redis://:changeme@pretix-redis-master/1
PRETIX_CELERY_BROKER: redis://:changeme@pretix-redis-master/2
PRETIX_METRICS_ENABLED: false
PRETIX_METRICS_USER: pretix
PRETIX_METRICS_PASSPHRASE: pretix
@ -50,7 +50,7 @@ imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
#This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/
# This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/
serviceAccount:
# Specifies whether a service account should be created
create: true
@ -181,7 +181,7 @@ readinessProbe:
- name: "host"
value: localhost
#This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/
# This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/
autoscaling:
enabled: false
minReplicas: 1
@ -221,4 +221,17 @@ redis:
enabled: true
architecture: standalone
auth:
enabled: false
enabled: true
password: 'changeme'
# -- name of an existing secret with Redis credentials (instead of auth.password), must be created ahead of time
existingSecret: ""
# -- Password key to be retrieved from existing secret
existingSecretPasswordKey: ""
global:
storageClass: ""
master:
persistence:
enabled: true
replica:
persistence:
enabled: true