make setting redis user work

This commit is contained in:
Lily Cohen 2023-07-06 22:07:32 -05:00
parent a7bb42fce2
commit 32a786dfa7
3 changed files with 6 additions and 1 deletions

View file

@ -82,6 +82,7 @@ A fun, new, open way to experience social media https://calckey.org
| postgresql.auth.username | string | `"calckey"` | |
| postgresql.enabled | bool | `true` | disable if you want to use an existing db; in which case the values below must match those of that external postgres instance |
| redis.auth.password | string | `""` | you must set a password; the password generated by the redis chart will be rotated on each upgrade: |
| redis.auth.user | string | `""` | optional - only used when using an external redis instance |
| redis.db | string | `nil` | |
| redis.enabled | bool | `true` | |
| redis.hostname | string | `""` | |

View file

@ -159,7 +159,9 @@ redis:
{{- if .Values.redis.db }}
db: {{ .Values.redis.db }}
{{- end }}
#user: default
{{- if .Values.redis.auth.user }}
user: {{ .Values.redis.auth.user }}
{{- end }}
#tls:
# host: localhost
# rejectUnauthorized: false

View file

@ -124,6 +124,8 @@ redis:
# -- you must set a password; the password generated by the redis chart will be
# rotated on each upgrade:
password: ""
# -- optional - only used when using an external redis instance
user: ""
# -- https://github.com/bitnami/charts/tree/master/bitnami/elasticsearch#parameters
elasticsearch: