This is an automated email from the ASF dual-hosted git repository.

jscheffl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 46091257c05 remove duplicate fallback branch in 
airflowPodSecurityContextsIds helper (#65558)
46091257c05 is described below

commit 46091257c0592e5a2267d6d6559c5d5be39e6aef
Author: Henry Chen <[email protected]>
AuthorDate: Tue Apr 21 02:46:56 2026 +0800

    remove duplicate fallback branch in airflowPodSecurityContextsIds helper 
(#65558)
---
 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] |

Reply via email to