ashb commented on a change in pull request #6230: [AIRFLOW-5413] Allow K8S 
worker pod to be configured from JSON/YAML file
URL: https://github.com/apache/airflow/pull/6230#discussion_r356002028
 
 

 ##########
 File path: airflow/kubernetes/secret.py
 ##########
 @@ -87,7 +87,7 @@ def to_env_from_secret(self) -> k8s.V1EnvFromSource:
 
     def to_volume_secret(self) -> Tuple[k8s.V1Volume, k8s.V1VolumeMount]:
         """Converts to volume secret"""
-        vol_id = 'secretvol{}'.format(uuid.uuid4())
+        vol_id = 'secretvol{}'.format(uuid.uuid4().hex)
 
 Review comment:
   Why this change?

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


With regards,
Apache Git Services

Reply via email to