kimminw00 commented on issue #13972: URL: https://github.com/apache/airflow/issues/13972#issuecomment-1715078666
How about adding <code>fsGroupChangePolicy</code> setting which is supported in kubernetes v1.23 to templates when <code>fsGroup</code> is specified in pod's securityContext? If <code>fsGroupChangePolicy</code> is set to <code>onRootMismatch</code>, the permissions will only be changed if they don’t already match the permissions of the container root. References https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#configure-volume-permission-and-ownership-change-policy-for-pods -- 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]
