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_r356004347
 
 

 ##########
 File path: tests/executors/test_kubernetes_executor.py
 ##########
 @@ -126,6 +134,9 @@ def setUp(self):
         ('kubernetes', 'worker_annotations'): '{ "iam.com/role" : "role-arn", 
"other/annotation" : "value" }'
     })
     def test_kube_config_worker_annotations_properly_parsed(self):
+        from airflow.configuration import conf
+        configuration_dict = conf.as_dict(display_sensitive=True)
+        print(configuration_dict.get('kubernetes', 'worker_annotations'))
 
 Review comment:
   Debug - should be removed

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