Skip to content

[Enhancement] handle kubectl vars from Ansible connector. - #377

Merged
dw merged 1 commit into
mitogen-hq:masterfrom
Yannig:kubectl_enhancement
Oct 2, 2018
Merged

[Enhancement] handle kubectl vars from Ansible connector.#377
dw merged 1 commit into
mitogen-hq:masterfrom
Yannig:kubectl_enhancement

Conversation

@Yannig

@Yannig Yannig commented Sep 20, 2018

Copy link
Copy Markdown
Contributor

This change allows the kubectl connector to support the same options as
Ansible's original connector.

The playbook sample comes with an example of a pod containing two containers
and checking that moving from one container to another, the version of Python
changes as expected.

Comment thread mitogen/kubectl.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We can't import ansible from the core library. Otherwise this looks good!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done :)

This change allows the kubectl connector to support the same options as
Ansible's original connector.

The playbook sample comes with an example of a pod containing two containers
and checking that moving from one container to another, the version of Python
changes as expected.
@Yannig
Yannig force-pushed the kubectl_enhancement branch from 0416665 to 17548d1 Compare October 2, 2018 09:54
@Yannig

Yannig commented Oct 2, 2018

Copy link
Copy Markdown
Contributor Author

@dw I tried to put everything specific to Ansible in the mitogen_ansible directory. I hope it will be OK :)

dw added a commit that referenced this pull request Oct 2, 2018
(Pull #377)

Changes:
- additional_parameters -> extra_args
- Merge with kubectl changes from dmw branch
- Update docs
- Remove unused username class member
- Avoid mutable kubectl_args class member
- Use six.iteritems
@dw
dw merged commit 17548d1 into mitogen-hq:master Oct 2, 2018
PatrickCoakley23 pushed a commit to cyara/mitogen that referenced this pull request Nov 10, 2023
…lan_changes

removing the duplicate dialplan
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.

2 participants