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

[BUG] Supported kubernetes library is severely outdated #5

Open
lkubb opened this issue Sep 25, 2024 · 1 comment
Open

[BUG] Supported kubernetes library is severely outdated #5

lkubb opened this issue Sep 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@lkubb
Copy link
Member

lkubb commented Sep 25, 2024

Description
This extension only supports severely outdated versions of the kubernetes library. For details, see saltstack/salt#62621 and saltstack/salt#63090

Setup
irrelevant

Steps to Reproduce the behavior
install the extension

Expected behavior
Support recent versions

Screenshots
We're currently pinning kubernetes==3.0.0 from 2017. This causes some installation issues in the Windows/macOS test jobs.

Versions Report
1.0.1

@lkubb lkubb added the bug Something isn't working label Sep 25, 2024
@benfiedler
Copy link

benfiedler commented Nov 4, 2024

Agreed - I have made and tested some offline changes to the state+module (which I hope to eventually contribute back), but I bumped the kubernetes module version to 19.15.0. Reason I picked that one is it's the first version that lists supports for python 3.10.

I think the bare minimum changes needed for kubernetesmod.py to function with 19.15.0 was to remove 'beta' from the hard coded calls for deployment/deployment spec, e.g. AppsV1beta1DeploymentSpec -> AppsV1DeploymentSpec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants