-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description:
The Redis deployment is not being created because the conditional logic in the Helm template is incorrect. The template checks for {{- if or (not .Values.global.external) (not .Values.redis.external) }}, but .Values.global.external does not exist in the values.yaml. Instead, the correct key is .Values.global.external.enabled.
Current Behavior:
- Redis deployment is not created, even when
redis.external: falseis set. - The migrations and other components hang waiting for Redis, which never starts.
Expected Behavior:
- Redis deployment should be created when
redis.external: falseandglobal.external.enabled: false.
Root Cause:
The template uses:
{{- if or (not .Values.global.external) (not .Values.redis.external) }}But the values.yaml defines:
global:
external:
enabled: falseThe template should check .Values.global.external.enabled instead of .Values.global.external.
Proposed Fix:
Update the conditional in the Redis deployment template to:
{{- if or (not .Values.global.external.enabled) (not .Values.redis.external) }}Additional Context:
- This issue prevents the chart from deploying Redis internally, causing all dependent components to hang.
- The fix is minimal and aligns the template with the actual
values.yamlstructure.
Steps to Reproduce:
- Deploy the chart with
redis.external: falseandglobal.external.enabled: false. - Observe that no Redis pod is created.
- Check the Helm template for the conditional logic.
nimish-ks
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working