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

Fix KubernetesPodOperatorAsync to consider kubernetes connection id and details in trigger #815

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

bharanidharan14
Copy link
Contributor

@bharanidharan14 bharanidharan14 commented Dec 16, 2022

kube_config_path or kube_config (JSON) from Kubernetes connection was not consider in KubernetesPodOperatorAsync. Because the connection id is set to None in the trigger, So now it is fixed to consider the Kubernetes connection id and details in trigger.

closes: #745

@codecov
Copy link

codecov bot commented Dec 16, 2022

Codecov Report

Base: 98.51% // Head: 98.51% // No change to project coverage 👍

Coverage data is based on head (608a3ba) compared to base (87145d1).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #815   +/-   ##
=======================================
  Coverage   98.51%   98.51%           
=======================================
  Files          87       87           
  Lines        4777     4777           
=======================================
  Hits         4706     4706           
  Misses         71       71           
Impacted Files Coverage Δ
...viders/cncf/kubernetes/operators/kubernetes_pod.py 93.65% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@bharanidharan14
Copy link
Contributor Author

@pankajastro @pankajastro @phanikumv Can you review this PR

@phanikumv
Copy link
Collaborator

@pankajastro @pankajastro @phanikumv Can you review this PR

did we test this on astro cloud?

@bharanidharan14
Copy link
Contributor Author

bharanidharan14 commented Dec 16, 2022

@pankajastro @pankajastro @phanikumv Can you review this PR

did we test this on astro cloud?

Deployed the code changes in Astro cloud and tested it ran
Screenshot 2022-12-16 at 5 03 44 PM

Copy link
Collaborator

@phanikumv phanikumv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

title, description and the commit msg do not describe why this change is done

@bharanidharan14 bharanidharan14 changed the title Passing kubernetes_conn_id in trigger and hook Fix KubernetesPodOperatorAsync to consider Kubernetes connection id and details in trigger Dec 16, 2022
@bharanidharan14 bharanidharan14 changed the title Fix KubernetesPodOperatorAsync to consider Kubernetes connection id and details in trigger Fix KubernetesPodOperatorAsync to consider kubernetes connection id and details in trigger Dec 16, 2022
@bharanidharan14 bharanidharan14 merged commit bd0eee1 into main Dec 16, 2022
@bharanidharan14 bharanidharan14 deleted the fix-745 branch December 16, 2022 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KPOA -> is not using kube_config_path or kube_config (JSON) from kubernetes connection
3 participants