Skip to content

Chart should not create Redis secrets while using the KubernetesExecutor #30420

@slmg

Description

@slmg

Official Helm Chart version

1.8.0 (latest released)

Apache Airflow version

2.5.1

Kubernetes Version

1.21.14

Helm Chart configuration

# values.yaml

executor: "KubernetesExecutor"

Docker Image customizations

None.

What happened

The redis secrets got created

What you think should happen instead

Given all the resources defined in ./chart/templates/redis contain the below condition, it does not seem right to me to get Redis secrets created in the context of the KubernetesExecutor.

{{- if and .Values.redis.enabled (or (eq .Values.executor "CeleryExecutor") (eq .Values.executor "CeleryKubernetesExecutor")) }}

Redis secrets might have been missed when this condition was added, because they are located in a different folder?

How to reproduce

Render helm templates

helm template test apache-airflow/airflow --version 1.8.0 --values values.yaml > rendered.yaml

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions