Skip to content

flux HelmRelease not launching Jobs equivalently to helm install #1085

Answered by otosky
otosky asked this question in Q&A
Discussion options

You must be logged in to vote

Figured out that the issue was my not fully understanding how Helm hooks work, and confusion around the Helm --wait flag.

In a nutshell, this chart has a migration Job that acts as a post-install/upgrade hook, but doesn't play well with the wait flag, since the Kubernetes resources that the chart declares have init-containers which wait on completion of the migrations job! Probably a chart design decision that they will have to re-evaluate, see apache/airflow#11979.

In any case, this was resolved by adding the disableWait parameter under HelmRelease spec.<action> like so:

release.yaml

apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: airflow
  namespace: airfl…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by otosky
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants