diff --git a/bitnami/airflow/CHANGELOG.md b/bitnami/airflow/CHANGELOG.md index a9c98f0f1da0f3..8de440d89b287f 100644 --- a/bitnami/airflow/CHANGELOG.md +++ b/bitnami/airflow/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 19.0.2 (2024-08-22) +## 19.0.3 (2024-08-25) -* [bitnami/airflow] Release 19.0.2 ([#28971](https://github.com/bitnami/charts/pull/28971)) +* [bitnami/airflow] add resources to loaddags initcontainer try 2 ([#28992](https://github.com/bitnami/charts/pull/28992)) + +## 19.0.2 (2024-08-22) + +* [bitnami/airflow] Release 19.0.2 (#28971) ([c03dc2b](https://github.com/bitnami/charts/commit/c03dc2b82fa1fb4cddb1e6f90541463d61374713)), closes [#28971](https://github.com/bitnami/charts/issues/28971) ## 19.0.1 (2024-08-16) diff --git a/bitnami/airflow/Chart.yaml b/bitnami/airflow/Chart.yaml index 2b007c49472615..187a8989e8428c 100644 --- a/bitnami/airflow/Chart.yaml +++ b/bitnami/airflow/Chart.yaml @@ -47,4 +47,4 @@ maintainers: name: airflow sources: - https://github.com/bitnami/charts/tree/main/bitnami/airflow -version: 19.0.2 +version: 19.0.3 diff --git a/bitnami/airflow/templates/_helpers.tpl b/bitnami/airflow/templates/_helpers.tpl index 89ebdfd7d1eb46..67e39d67bfc436 100644 --- a/bitnami/airflow/templates/_helpers.tpl +++ b/bitnami/airflow/templates/_helpers.tpl @@ -214,6 +214,11 @@ Load DAGs init-container - -ec - | cp /configmap/* /dags + {{- if $compDefinition.resources }} + resources: {{- toYaml $compDefinition.resources | nindent 4 }} + {{- else if ne $compDefinition.resourcesPreset "none" }} + resources: {{- include "common.resources.preset" (dict "type" $compDefinition.resourcesPreset) | nindent 4 }} + {{- end }} volumeMounts: - name: empty-dir mountPath: /tmp