passbolt / charts-passbolt

Helm charts to run Passbolt on Kubernetes. No strings attached charts to run the open source password manager for teams!
https://passbolt.com
GNU Affero General Public License v3.0
41 stars 27 forks source link

Specify Redis StorageClass in values.yaml #27

Closed adegoodyer closed 1 year ago

adegoodyer commented 1 year ago

Hi, in values.yaml.. would it be possible to specify the storageClass for Redis similar to the way in which it is done for MariaDB?

We're deploying into EKS and use a multitude of different StorageClasses for EFS and EBS so are unable to rely on using the default.

Great project btw!

dlen commented 1 year ago

Hi!

As we are using the bitnami redis chart and since they support storageClass just like the mariadb you would be able to do it by adding the corresponding entries under 'redis' in values.yaml (I haven't test it myself)

bitnami redis chart reference: https://github.com/bitnami/charts/blob/main/bitnami/redis/values.yaml#L861

dlen commented 1 year ago

closing this feel free to reopen if needed

adegoodyer commented 1 year ago

Fab thank you!

I'd tried it with the wrong config earlier..

# incorrect
redis:
  persistence:
    enabled: true
    storageClass: "aws-passbolt-demo-redis"

After viewing the bitnami/redis default values.yaml I was able to use the correct configuration.

#correct
redis:
  global:
    storageClass: "aws-passbolt-demo-redis"

Thank you for the quick response, much appreciated.