This is an automated email from the ASF dual-hosted git repository.
jscheffl pushed a commit to branch chart/v1-2x-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/chart/v1-2x-test by this push:
new f5dbdfc7d5c [chart/v1-2x-test] remove duplicate fallback branch in
airflowPodSecurityContextsIds helper (#65558) (#65563)
f5dbdfc7d5c is described below
commit f5dbdfc7d5ce9e7c37c4aae5e11e2b9f618a11c2
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Apr 20 20:48:27 2026 +0200
[chart/v1-2x-test] remove duplicate fallback branch in
airflowPodSecurityContextsIds helper (#65558) (#65563)
(cherry picked from commit 46091257c0592e5a2267d6d6559c5d5be39e6aef)
Co-authored-by: Henry Chen <[email protected]>
---
chart/templates/_helpers.yaml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/chart/templates/_helpers.yaml b/chart/templates/_helpers.yaml
index b9a7587b6b2..ef120699389 100644
--- a/chart/templates/_helpers.yaml
+++ b/chart/templates/_helpers.yaml
@@ -928,8 +928,6 @@ Where `.` is the global variables scope and
`.Values.workers` the local variable
{{ pluck "runAsUser" $.Values.securityContext | first | default
$.Values.uid }}:{{ pluck "fsGroup" $.Values.securityContext | first | default
$.Values.gid }}
{{- else if $.Values.securityContexts.pod -}}
{{ pluck "runAsUser" $.Values.securityContexts.pod | first | default
$.Values.uid }}:{{ pluck "fsGroup" $.Values.securityContexts.pod | first |
default $.Values.gid }}
- {{- else if $.Values.securityContext -}}
- {{ pluck "runAsUser" $.Values.securityContext | first | default
$.Values.uid }}:{{ pluck "fsGroup" $.Values.securityContext | first | default
$.Values.gid }}
{{- else -}}
{{ $.Values.uid }}:{{ $.Values.gid }}
{{- end -}}
@@ -938,7 +936,7 @@ Where `.` is the global variables scope and
`.Values.workers` the local variable
{{/*
Set the default value for container securityContext
-If no value is passed for securityContexts.container or
<node>.securityContexts.container, defaults to deny privileges escallation and
dropping all POSIX capabilities.
+If no value is passed for securityContexts.container or
<node>.securityContexts.container, defaults to deny privileges escalation and
dropping all POSIX capabilities.
+-----------------------------------+ +-----------------------------+
+------------------------------------------------------------+
| <node>.securityContexts.container | -> | securityContexts.containers |
-> | allowPrivilegesEscalation: false, capabilities.drop: [ALL] |
@@ -973,7 +971,7 @@ capabilities:
{{/*
Set the default value for external container securityContext(redis and statsd).
-If no value is passed for <node>.securityContexts.container, defaults to deny
privileges escallation and dropping all POSIX capabilities.
+If no value is passed for <node>.securityContexts.container, defaults to deny
privileges escalation and dropping all POSIX capabilities.
+-----------------------------------+
+------------------------------------------------------------+
| <node>.securityContexts.container | -> | allowPrivilegesEscalation:
false, capabilities.drop: [ALL] |