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

Set kubernetes_asyncio back to official package #368

Merged
merged 1 commit into from
Dec 1, 2021

Conversation

linkous8
Copy link
Contributor

  • Update pyproject.toml and poetry.lock
  • Add k8s connector missing explicit imports, alphabetize
  • Update KubernetesModel.api_client context manager with default_headers
    argument
  • Set default_header content-type = application/merge-patch+json for
    rollout patch method

- Update pyproject.toml and poetry.lock
- Add k8s connector missing explicit imports, alphabetize
- Update KubernetesModel.api_client context manager with default_headers
argument
- Set default_header content-type = application/merge-patch+json for
rollout patch method
@linear
Copy link

linear bot commented Nov 29, 2021

ENG-646 Set kubernetes connector kubernetes_asyncio source back to the official library

An ideal workaround has been found that eliminates the need for the forked kubernetes asyncio github repo and pypi project. The branch/PR associated with this ticket sets the kubernetes_asyncio dependency back to the official repo and applies the workaround (more info on said workaround below)

The fix is to use the undocumented ApiClient.set_default_header method to set header defaults on the ApiClient which appear to take precedence over the CustomObjectApidefaults.

@linkous8 linkous8 merged commit aca8d5e into main Dec 1, 2021
@linkous8 linkous8 deleted the fred/eng-646-set-kubernetes-connector branch December 1, 2021 15:25
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