Skip to content

Mounting all volume in init/side containers breaks my setup (introduced in PR 27420) #29426

@iJanki-gr

Description

@iJanki-gr

Official Helm Chart version

1.8.0 (latest released)

Apache Airflow version

2.5.1

Kubernetes Version

1.24.4

Helm Chart configuration

No response

Docker Image customizations

No response

What happened

I tried out the new 1.8.0 release of the chart. I found there is a backwards incompatible change introduced in
#27420 that causes all extraVolumes and extraMounts to be added to all init and sidecars.

This causes issues for us when using subPath mounts causing folders to be wrongly created by init containers that have nothing to do with the volume.

What you think should happen instead

Can this opinionated change be at least opt-out, guarded by some value?
Something like:

mountAllExtraVolumes: true

We would like to keep using this chart as is without forking.

How to reproduce

No response

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions