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

 ##########
 File path: airflow/example_dags/example_kubernetes_executor_config.py
 ##########
 @@ -87,8 +87,8 @@ def test_volume_mount():
         python_callable=print_stuff,
         executor_config={
             "KubernetesExecutor": {
-                "securityContext": {
-                    "runAsUser": 1000
+                "labels": {
+                    "runAsUser": "1000"
 
 Review comment:
   Exactly, if you're in support of removing `securityContext` I'll change [the 
comment](https://github.com/apache/airflow/blob/0499bab86e5045fd18683e64ae471d06ad6c806f/airflow/example_dags/example_kubernetes_executor_config.py#L84)
 as well.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to