deveshgoyal1000 commented on issue #41630:
URL: https://github.com/apache/airflow/issues/41630#issuecomment-2307194332

   I can get this done 1-2 if  but which approch should i do making runAsUser 
and fsGroup values to be null or Conditionally including or excluding the 
`securityContext` block based on this flag and the `adaptSecurityContext` 
setting. and updating
   deployment templates with  
   ```yaml
   {{- if and (eq .Values.global.compatibility.openshift.adaptSecurityContext 
"auto") (eq .Values.global.compatibility.openshift.openshift true) }}
   securityContext: {}
   {{- else }}
   securityContext:
     runAsUser: {{ .Values.containerSecurityContext.runAsUser | default "" }}
     fsGroup: {{ .Values.podSecurityContext.fsGroup | default "" }}
   {{- end }}
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to