Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AIRFLOW-5873] KubernetesPodOperator fixes and test #6524

Merged
merged 1 commit into from
Nov 12, 2019

Commits on Nov 12, 2019

  1. [AIRFLOW-5873] KubernetesPodOperator fixes and test

    - `security_context` was missing from docs of `KubernetesPodOperator`
    - `KubernetesPodOperator` kwarg `in_cluster` erroneously defaults to
    False in comparison to `default_args.py`, also default `do_xcom_push`
     was overwritten to False in contradiction to `BaseOperator`
    - `KubernetesPodOperator` kwarg `resources` is erroneously passed to
     `base_operator`, instead should only go to `PodGenerator`. The two
     have different syntax. (both on `master` and `v1-10-test` branches)
    - `kubernetes/pod.py`: classes do not have `__slots__`
     so they would accept arbitrary values in `setattr`
    - Reduce amount of times the pod object is copied before execution
    ddelange committed Nov 12, 2019
    Configuration menu
    Copy the full SHA
    8171cb2 View commit details
    Browse the repository at this point in the history