a-poptsov opened a new issue #10777:
URL: https://github.com/apache/airflow/issues/10777


   For the case when secret key is specified system should handle this key 
during attaching secret to pod as volume.
   
   Expected result is:
   
   > only specified key should be attached from full secret. it should be 
mounted as a file to the path == volume_mount  
https://kubernetes.io/docs/concepts/configuration/secret/#projection-of-secret-keys-to-specific-paths
   
   Current result:
   
   > all keys are attached if key property is presented in secret 
https://github.com/apache/airflow/blob/v1-10-stable/airflow/kubernetes/secret.py#L107
   


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

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


Reply via email to