diff --git a/pretix/Chart.yaml b/pretix/Chart.yaml index ae5420a..05e3379 100644 --- a/pretix/Chart.yaml +++ b/pretix/Chart.yaml @@ -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: diff --git a/pretix/README.md b/pretix/README.md index d322cb9..97bfc7e 100644 --- a/pretix/README.md +++ b/pretix/README.md @@ -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 | `{}` | | @@ -129,14 +129,20 @@ helm uninstall pretix-release | prometheus.servicemonitor.enabled | bool | `false` | broken, Host need to be localhost on request (instatt of ip) needs: https://github.com/prometheus-operator/prometheus-operator/pull/7003 | | prometheus.servicemonitor.interval | string | `nil` | interval | | prometheus.servicemonitor.labels | object | `{}` | | -| prometheus.servicemonitor.scrapeTimeout | string | `nil` | scrape timeout | +| prometheus.servicemonitor.scrapeTimeout | string | `nil` | scrape timeout | | readinessProbe.httpGet.httpHeaders[0].name | string | `"host"` | | | readinessProbe.httpGet.httpHeaders[0].value | string | `"localhost"` | | | 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 | `{}` | | @@ -254,14 +260,20 @@ Reinventing ticket presales, one ticket at a time. | prometheus.servicemonitor.enabled | bool | `false` | broken, Host need to be localhost on request (instatt of ip) needs: https://github.com/prometheus-operator/prometheus-operator/pull/7003 | | prometheus.servicemonitor.interval | string | `nil` | interval | | prometheus.servicemonitor.labels | object | `{}` | | -| prometheus.servicemonitor.scrapeTimeout | string | `nil` | scrape timeout | +| prometheus.servicemonitor.scrapeTimeout | string | `nil` | scrape timeout | | readinessProbe.httpGet.httpHeaders[0].name | string | `"host"` | | | readinessProbe.httpGet.httpHeaders[0].value | string | `"localhost"` | | | 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 | `{}` | | diff --git a/pretix/values.yaml b/pretix/values.yaml index 406460d..f839a79 100644 --- a/pretix/values.yaml +++ b/pretix/values.yaml @@ -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 @@ -63,7 +63,7 @@ serviceAccount: name: "" # This is for setting Kubernetes Annotations to a Pod. -# For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ +# For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ podAnnotations: {} # This is for setting Kubernetes Labels to a Pod. @@ -121,7 +121,7 @@ prometheus: labels: {} # -- interval interval: - # -- scrape timeout + # -- scrape timeout scrapeTimeout: rules: enabled: false @@ -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