gsingh935 commented on issue #43464:
URL: https://github.com/apache/airflow/issues/43464#issuecomment-2553996462

   @amoghrajesh - there is actually a workaround that can be done to set 
automountserviceaccount to false for scheduler pod.
   
   ```yaml
   scheduler:   
     serviceAccount: 
       automountServiceAccountToken: false
     extraVolumes:                                       
     - name: serviceaccount-token
       projected:
         defaultMode: 0444
         sources:
         - serviceAccountToken:
             expirationSeconds: 3607
             path: token
         - configMap:
             name: kube-root-ca.crt
             items:
             - key: ca.crt
               path: ca.crt
         - downwardAPI:
             items:
             - path: namespace
               fieldRef:
                 apiVersion: v1
                 fieldPath: metadata.namespace
     extraVolumeMounts:
     - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
       name: serviceaccount-token
   ```


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