fix(autopush): redis to persistence

This commit is contained in:
WrenIX 2025-01-18 14:56:51 +01:00
parent fa40436ef0
commit ff40a7f712
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
3 changed files with 17 additions and 7 deletions

View file

@ -3,7 +3,7 @@ name: autopush
description: A Helm chart for Kubernetes description: A Helm chart for Kubernetes
icon: icon:
type: application type: application
version: 0.0.6 version: 0.0.7
# renovate: image=docker.io/mozilla-services/autopush-rs # renovate: image=docker.io/mozilla-services/autopush-rs
appVersion: "1.72.2" appVersion: "1.72.2"
maintainers: maintainers:

View file

@ -7,7 +7,7 @@ description: "A Helm chart for Kubernetes"
# autopush # autopush
![Version: 0.0.6](https://img.shields.io/badge/Version-0.0.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.72.2](https://img.shields.io/badge/AppVersion-1.72.2-informational?style=flat-square) ![Version: 0.0.7](https://img.shields.io/badge/Version-0.0.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.72.2](https://img.shields.io/badge/AppVersion-1.72.2-informational?style=flat-square)
A Helm chart for Kubernetes A Helm chart for Kubernetes
@ -137,16 +137,19 @@ helm uninstall autopush-release
| prometheus.volumeMounts | list | `[]` | Additional volumeMounts on the output Deployment definition. - name: foo mountPath: "/etc/foo" readOnly: true | | prometheus.volumeMounts | list | `[]` | Additional volumeMounts on the output Deployment definition. - name: foo mountPath: "/etc/foo" readOnly: true |
| redis.architecture | string | `"standalone"` | | | redis.architecture | string | `"standalone"` | |
| redis.auth.enabled | bool | `true` | | | 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.existingSecret | string | `nil` | Or use existing secret with "redis-password" key instead of static password | | redis.auth.existingSecret | string | `nil` | Or use existing secret with "redis-password" key instead of static password |
| redis.auth.existingSecretPasswordKey | string | `""` | Password key to be retrieved from existing secret |
| redis.auth.password | string | `"autopush"` | XXX Change me! | | redis.auth.password | string | `"autopush"` | XXX Change me! |
| redis.dbid | int | `0` | Database ID for non-default database | | redis.dbid | int | `0` | Database ID for non-default database |
| redis.external.existingSecretPasswordKey | string | `"redis-password"` | Password key to be retrieved from existing secret | | redis.external.existingSecretPasswordKey | string | `"redis-password"` | Password key to be retrieved from existing secret |
| redis.external.host | string | `"redis"` | | | redis.external.host | string | `"redis"` | |
| redis.external.port | int | `6379` | | | redis.external.port | int | `6379` | |
| redis.global.storageClass | string | `""` | |
| redis.internal | bool | `true` | | | redis.internal | bool | `true` | |
| redis.master.kind | string | `"Deployment"` | | | redis.master.persistence.enabled | bool | `true` | |
| redis.master.persistence.enabled | bool | `false` | |
| redis.master.service.port | int | `6379` | | | redis.master.service.port | int | `6379` | |
| redis.replica.persistence.enabled | bool | `true` | |
| serviceAccount.annotations | object | `{}` | | | serviceAccount.annotations | object | `{}` | |
| serviceAccount.automount | bool | `true` | | | serviceAccount.automount | bool | `true` | |
| serviceAccount.create | bool | `true` | | | serviceAccount.create | bool | `true` | |

View file

@ -99,6 +99,10 @@ redis:
enabled: true enabled: true
# -- XXX Change me! # -- XXX Change me!
password: autopush password: autopush
# -- 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: ""
# -- Or use existing secret with "redis-password" key instead of static password # -- Or use existing secret with "redis-password" key instead of static password
existingSecret: existingSecret:
@ -111,13 +115,16 @@ redis:
architecture: standalone architecture: standalone
global:
storageClass: ""
master: master:
kind: Deployment
persistence: persistence:
enabled: false enabled: true
service: service:
port: 6379 port: 6379
replica:
persistence:
enabled: true
autoconnect: autoconnect:
# -- This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ # -- This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/