image:
repository: weblate/weblate
tag: 4.18.2.1
pullPolicy: IfNotPresent
imagePullSecrets: []
nameOverride: ''
fullnameOverride: ''
updateStrategy: Recreate
...
postgresql:
auth:
# PostgreSQL user should be a superuser to
# be able to install pg_trgm extension. Alternatively you can install it
# manually prior starting Weblate.
userName: ''
enablePostgresUser: true
postgresPassword: weblate
database: weblate
existingSecret: ''
secretKeys:
userPasswordKey: postgresql-password
service:
ports:
postgresql: 5432
enabled: true
# postgresql.postgresqlHost -- External postgres database endpoint, to be
# used if `postgresql.enabled == false`
# @default -- `None`
postgresqlHost:
redis:
architecture: standalone
auth:
enabled: true
password: weblate
existingSecret: ''
existingSecretPasswordKey: redis-password
db: 1
enabled: true
# redis.redisHost -- External redis database endpoint, to be
# used if `redis.enabled == false`
# @default -- `None`
redisHost:
and noticed that the weblate pod fails to start as it tries to connect to redis service with the name
translation-weblate-redis-master, however the created service of redis is named translation-redis-master.
File "/usr/local/lib/python3.11/site-packages/django_redis/client/default.py", line 670, in has_key raise ConnectionInterrupted(connection=client) from edjango_redis.exceptions.ConnectionInterrupted: Redis ConnectionError: Error -2 connecting to translation-weblate-redis-master:6379. Name or service not known.
Describe the issue
Dear community,
I run the helm chart version via argoCD:
and use it stock vaules in the DB and redis setup
and noticed that the weblate pod fails to start as it tries to connect to redis service with the name translation-weblate-redis-master, however the created service of redis is named translation-redis-master.
File "/usr/local/lib/python3.11/site-packages/django_redis/client/default.py", line 670, in has_key raise ConnectionInterrupted(connection=client) from edjango_redis.exceptions.ConnectionInterrupted: Redis ConnectionError: Error -2 connecting to translation-weblate-redis-master:6379. Name or service not known.