was missing an 'and'

This commit is contained in:
jessebot
2025-01-19 11:16:37 +01:00
parent 6cd7bdc277
commit 69cfc35d5e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.8.1
version: 0.8.2
# This is the version number of the application being deployed.
# renovate:image=ghcr.io/mattlqx/docker-pixelfed
+2 -2
View File
@@ -99,7 +99,7 @@ data:
DB_DATABASE: postgres
{{- end }}
# redis
# valkey (redis)
{{- if .Values.valkey.enabled }}
REDIS_HOST: {{ printf "%s-primary" (.Values.valkey.fullnameOverride) }}
{{- else if and .Values.externalValkey.enabled (not .Values.externalValkey.existingSecret) (not .Values.externalValkey.existingSecretKeys.host) }}
@@ -108,6 +108,6 @@ data:
{{- if .Values.valkey.enabled }}
REDIS_PORT: {{ .Values.valkey.primary.service.ports.valkey | quote }}
{{- else if .Values.externalValkey.enabled (not .Values.externalValkey.existingSecret) (not .Values.externalValkey.existingSecretKeys.port) }}
{{- else if and .Values.externalValkey.enabled (not .Values.externalValkey.existingSecret) (not .Values.externalValkey.existingSecretKeys.port) }}
REDIS_PORT: {{ .Values.externalValkey.port | quote }}
{{- end }}