Merge pull request #22 from small-hack/fix-external-valkey-reference
fix: was missing an 'and' for externalValkey conditional in configmap-env
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# pixelfed
|
||||
|
||||
  
|
||||
  
|
||||
|
||||
A Helm chart for deploying Pixelfed on Kubernetes
|
||||
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user