You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/12/12 14:30:00 UTC

[jira] [Commented] (AIRFLOW-6234) KubernetesPodOperator secret volume - allow defaultMode override

    [ https://issues.apache.org/jira/browse/AIRFLOW-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16994741#comment-16994741 ] 

ASF GitHub Bot commented on AIRFLOW-6234:
-----------------------------------------

kevoriordan commented on pull request #6800: [AIRFLOW-6234] KubernetesPodOperator secret volume - allow defaultMode override
URL: https://github.com/apache/airflow/pull/6800
 
 
   
   ### Description
   
   - This PR adds optional parameter to Kubernetes secret to allow override of defaultMode on mounted volume. This is necessary for certain types of secrets, eg: SSH keys to have correct filesystem permissions.
   
   ### Tests
   
   - tests/contrib/kubernetes/kubernetes_request_factory/test_kubernetes_request_factory.py  / test_extract_volume_secrets
   
   
   
   
 
----------------------------------------------------------------
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:
users@infra.apache.org


> KubernetesPodOperator secret volume - allow defaultMode override
> ----------------------------------------------------------------
>
>                 Key: AIRFLOW-6234
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6234
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: operators
>    Affects Versions: 2.0.0, 1.10.6, 1.10.7
>            Reporter: Kevin O'Riordan
>            Assignee: Kevin O'Riordan
>            Priority: Minor
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> KubernetesPodOperator allows mounting of Kubernetes secrets as volumes on a container but does not allow override of defaultMode parameter. This is necessary for example, to mountain SSH key secrets which need a defaultMode of 0400 (octal). 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)