Skip to content

Commit

Permalink
[bitnami/airflow] add resources to loaddags initcontainer try 2 (#28992)
Browse files Browse the repository at this point in the history
* define resources for Load DAGs init-container

Signed-off-by: Bastiaan Bakker <[email protected]>

* [bitnami/airflow] Release 19.0.3

Signed-off-by: Bastiaan Bakker <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: Bastiaan Bakker <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Co-authored-by: Bitnami Containers <[email protected]>
  • Loading branch information
bbakker2 and bitnami-bot authored Aug 26, 2024
1 parent 8eb9085 commit 77376c3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
8 changes: 6 additions & 2 deletions bitnami/airflow/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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))

## <small>19.0.2 (2024-08-22)</small>

* [bitnami/airflow] Release 19.0.2 (#28971) ([c03dc2b](https://github.com/bitnami/charts/commit/c03dc2b82fa1fb4cddb1e6f90541463d61374713)), closes [#28971](https://github.com/bitnami/charts/issues/28971)

## <small>19.0.1 (2024-08-16)</small>

Expand Down
2 changes: 1 addition & 1 deletion bitnami/airflow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 5 additions & 0 deletions bitnami/airflow/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 77376c3

Please sign in to comment.