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

   Hi @deveshgoyal1000 ,
   
   Thanks for jumping in. I am well thanks.
   
   Yes your plan will work. I thought it was more simple to allow runAsUser and 
fsGroup values to be null. Openshift would accept that too. As an example:
   
   ```
   securityContexts: {
     runAsUser: 
     fsGroup:  
   }
   ```
   
   Blank values are accepted in restricted-v2.
   
   But you're right. The underlying issue here is that the securityContexts 
block can't be fully omitted to allow Openshift to apply the default SCC config.
   
   As a workaround we are using helm template and then a find and replace to 
make runAsUser and fsGroup blank.
   
   Do you mind if I ask your time frame?


-- 
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