From c74d5b3ea31edbde920c94b16648b88b6ee15dd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20J=2E=20Salmer=C3=B3n=20Garc=C3=ADa?= Date: Wed, 7 May 2025 13:40:59 +0200 Subject: [PATCH] [bitnami/airflow] chore: :recycle: :arrow_up: Update common and remove k8s < 1.23 references (#33333) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [bitnami/airflow] chore: :recycle: :arrow_up: Update common and remove k8s < 1.23 references Signed-off-by: Javier J. Salmerón García * fix: :bug: Add missing end Signed-off-by: Javier J. Salmerón García * Update CHANGELOG.md Signed-off-by: Bitnami Bot * Update CHANGELOG.md Signed-off-by: Bitnami Bot * chore: :wrench: Bump resourcesPreset Signed-off-by: Javier J. Salmerón García * chore: :wrench: Add serial verification Signed-off-by: Javier J. Salmerón García --------- Signed-off-by: Javier J. Salmerón García Signed-off-by: Bitnami Bot Co-authored-by: Bitnami Bot --- .vib/airflow/runtime-parameters.yaml | 1 + .vib/airflow/vib-action.config | 1 + bitnami/airflow/CHANGELOG.md | 6 +++++- bitnami/airflow/Chart.lock | 8 ++++---- bitnami/airflow/Chart.yaml | 2 +- bitnami/airflow/templates/dag-processor/hpa.yaml | 8 -------- bitnami/airflow/templates/scheduler/hpa.yaml | 8 -------- bitnami/airflow/templates/triggerer/hpa.yaml | 8 -------- bitnami/airflow/templates/web/hpa.yaml | 8 -------- bitnami/airflow/templates/web/ingress.yaml | 6 +----- bitnami/airflow/templates/worker/hpa.yaml | 8 -------- 11 files changed, 13 insertions(+), 51 deletions(-) create mode 100644 .vib/airflow/vib-action.config diff --git a/.vib/airflow/runtime-parameters.yaml b/.vib/airflow/runtime-parameters.yaml index 6192e464e6..c88958c93d 100644 --- a/.vib/airflow/runtime-parameters.yaml +++ b/.vib/airflow/runtime-parameters.yaml @@ -45,6 +45,7 @@ web: enabled: true failureThreshold: 60 periodSeconds: 10 + resourcesPreset: large worker: podSecurityContext: fsGroup: 1002 diff --git a/.vib/airflow/vib-action.config b/.vib/airflow/vib-action.config new file mode 100644 index 0000000000..98dc98a97e --- /dev/null +++ b/.vib/airflow/vib-action.config @@ -0,0 +1 @@ +verification-mode=SERIAL \ No newline at end of file diff --git a/bitnami/airflow/CHANGELOG.md b/bitnami/airflow/CHANGELOG.md index c61fe51f34..a1ede08a31 100644 --- a/bitnami/airflow/CHANGELOG.md +++ b/bitnami/airflow/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog +## 23.1.1 (2025-05-07) + +* [bitnami/airflow] chore: :recycle: :arrow_up: Update common and remove k8s < 1.23 references ([#33333](https://github.com/bitnami/charts/pull/33333)) + ## 23.1.0 (2025-05-06) -* [bitnami/airflow] Expose topologyKey for all objects ([#33461](https://github.com/bitnami/charts/pull/33461)) +* [bitnami/airflow] Expose topologyKey for all objects (#33461) ([b320070](https://github.com/bitnami/charts/commit/b320070f3688a4ef2ffbb623b181ebbc72bf9bf8)), closes [#33461](https://github.com/bitnami/charts/issues/33461) ## 23.0.4 (2025-05-06) diff --git a/bitnami/airflow/Chart.lock b/bitnami/airflow/Chart.lock index 8ea8cc8974..59d666aa88 100644 --- a/bitnami/airflow/Chart.lock +++ b/bitnami/airflow/Chart.lock @@ -1,12 +1,12 @@ dependencies: - name: redis repository: oci://registry-1.docker.io/bitnamicharts - version: 20.13.3 + version: 20.13.4 - name: postgresql repository: oci://registry-1.docker.io/bitnamicharts version: 16.6.6 - name: common repository: oci://registry-1.docker.io/bitnamicharts - version: 2.30.0 -digest: sha256:2a95e7dfb27ef8ec4989b26265df18113cc4224c79215ebc79fc7511d964ae24 -generated: "2025-04-29T23:18:19.35123231Z" + version: 2.31.0 +digest: sha256:4e96e7deb3123f109d43507a618b2b9b45e84cdffece913eb3d85c6a6acd926c +generated: "2025-05-06T09:45:02.4086591+02:00" diff --git a/bitnami/airflow/Chart.yaml b/bitnami/airflow/Chart.yaml index 56e7acc0bc..b93857ea1f 100644 --- a/bitnami/airflow/Chart.yaml +++ b/bitnami/airflow/Chart.yaml @@ -40,4 +40,4 @@ maintainers: name: airflow sources: - https://github.com/bitnami/charts/tree/main/bitnami/airflow -version: 23.1.0 +version: 23.1.1 diff --git a/bitnami/airflow/templates/dag-processor/hpa.yaml b/bitnami/airflow/templates/dag-processor/hpa.yaml index 140a642b67..fdb963cb9b 100644 --- a/bitnami/airflow/templates/dag-processor/hpa.yaml +++ b/bitnami/airflow/templates/dag-processor/hpa.yaml @@ -26,24 +26,16 @@ spec: - type: Resource resource: name: cpu - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.dagProcessor.autoscaling.hpa.targetCPU }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.dagProcessor.autoscaling.hpa.targetCPU }} - {{- end }} {{- end }} {{- if .Values.dagProcessor.autoscaling.hpa.targetMemory }} - type: Resource resource: name: memory - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.dagProcessor.autoscaling.hpa.targetMemory }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.dagProcessor.autoscaling.hpa.targetMemory }} - {{- end }} {{- end }} {{- end }} diff --git a/bitnami/airflow/templates/scheduler/hpa.yaml b/bitnami/airflow/templates/scheduler/hpa.yaml index 68411ca17d..4e9f066774 100644 --- a/bitnami/airflow/templates/scheduler/hpa.yaml +++ b/bitnami/airflow/templates/scheduler/hpa.yaml @@ -26,24 +26,16 @@ spec: - type: Resource resource: name: cpu - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.scheduler.autoscaling.hpa.targetCPU }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.scheduler.autoscaling.hpa.targetCPU }} - {{- end }} {{- end }} {{- if .Values.scheduler.autoscaling.hpa.targetMemory }} - type: Resource resource: name: memory - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.scheduler.autoscaling.hpa.targetMemory }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.scheduler.autoscaling.hpa.targetMemory }} - {{- end }} {{- end }} {{- end }} diff --git a/bitnami/airflow/templates/triggerer/hpa.yaml b/bitnami/airflow/templates/triggerer/hpa.yaml index 5cb9dd0b95..bde2e13f83 100644 --- a/bitnami/airflow/templates/triggerer/hpa.yaml +++ b/bitnami/airflow/templates/triggerer/hpa.yaml @@ -26,24 +26,16 @@ spec: - type: Resource resource: name: cpu - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.triggerer.autoscaling.hpa.targetCPU }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.triggerer.autoscaling.hpa.targetCPU }} - {{- end }} {{- end }} {{- if .Values.triggerer.autoscaling.hpa.targetMemory }} - type: Resource resource: name: memory - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.triggerer.autoscaling.hpa.targetMemory }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.triggerer.autoscaling.hpa.targetMemory }} - {{- end }} {{- end }} {{- end }} diff --git a/bitnami/airflow/templates/web/hpa.yaml b/bitnami/airflow/templates/web/hpa.yaml index 1d06a40df6..98a03a5738 100644 --- a/bitnami/airflow/templates/web/hpa.yaml +++ b/bitnami/airflow/templates/web/hpa.yaml @@ -26,24 +26,16 @@ spec: - type: Resource resource: name: cpu - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.web.autoscaling.hpa.targetCPU }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.web.autoscaling.hpa.targetCPU }} - {{- end }} {{- end }} {{- if .Values.web.autoscaling.hpa.targetMemory }} - type: Resource resource: name: memory - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.web.autoscaling.hpa.targetMemory }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.web.autoscaling.hpa.targetMemory }} - {{- end }} {{- end }} {{- end }} diff --git a/bitnami/airflow/templates/web/ingress.yaml b/bitnami/airflow/templates/web/ingress.yaml index 7a82926408..a0be056137 100644 --- a/bitnami/airflow/templates/web/ingress.yaml +++ b/bitnami/airflow/templates/web/ingress.yaml @@ -15,7 +15,7 @@ metadata: annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }} {{- end }} spec: - {{- if and .Values.ingress.ingressClassName (eq "true" (include "common.ingress.supportsIngressClassname" .)) }} + {{- if .Values.ingress.ingressClassName }} ingressClassName: {{ .Values.ingress.ingressClassName | quote }} {{- end }} rules: @@ -27,9 +27,7 @@ spec: {{- toYaml .Values.ingress.extraPaths | nindent 10 }} {{- end }} - path: {{ .Values.ingress.path }} - {{- if eq "true" (include "common.ingress.supportsPathType" .) }} pathType: {{ .Values.ingress.pathType }} - {{- end }} backend: {{- include "common.ingress.backend" (dict "serviceName" (include "airflow.web.fullname" .) "servicePort" "http" "context" $) | nindent 14 }} {{- end }} {{- range .Values.ingress.extraHosts }} @@ -37,9 +35,7 @@ spec: http: paths: - path: {{ default "/" .path }} - {{- if eq "true" (include "common.ingress.supportsPathType" $) }} pathType: {{ default "ImplementationSpecific" .pathType }} - {{- end }} backend: {{- include "common.ingress.backend" (dict "serviceName" (include "airflow.web.fullname" $) "servicePort" "http" "context" $) | nindent 14 }} {{- end }} {{- if .Values.ingress.extraRules }} diff --git a/bitnami/airflow/templates/worker/hpa.yaml b/bitnami/airflow/templates/worker/hpa.yaml index 581d047c54..04dc75a266 100644 --- a/bitnami/airflow/templates/worker/hpa.yaml +++ b/bitnami/airflow/templates/worker/hpa.yaml @@ -26,24 +26,16 @@ spec: - type: Resource resource: name: cpu - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ coalesce .Values.worker.autoscaling.hpa.targetCPU .Values.worker.autoscaling.targetCPU }} - {{- else }} target: type: Utilization averageUtilization: {{ coalesce .Values.worker.autoscaling.hpa.targetCPU .Values.worker.autoscaling.targetCPU }} - {{- end }} {{- end }} {{- if (coalesce .Values.worker.autoscaling.hpa.targetMemory .Values.worker.autoscaling.targetMemory) }} - type: Resource resource: name: memory - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ coalesce .Values.worker.autoscaling.hpa.targetMemory .Values.worker.autoscaling.targetMemory }} - {{- else }} target: type: Utilization averageUtilization: {{ coalesce .Values.worker.autoscaling.hpa.targetMemory .Values.worker.autoscaling.targetMemory }} - {{- end }} {{- end }} {{- end }}