Skip to content

Commit

Permalink
fix lower bounds for kubernetes and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
djivey committed Jan 14, 2025
1 parent 0fc04d6 commit f092f88
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
4 changes: 1 addition & 3 deletions changelog/1.updated.md
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
## [Unreleased]
### Changed
- Updated `kubernetesmod` to work with newer versions of the Kubernetes Python client.
Updated `kubernetesmod` to work with newer versions of the Kubernetes Python client.
7 changes: 2 additions & 5 deletions changelog/2.feature.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
## [Unreleased]

### Added
- Added support for using context in templates for `deployment_present`, `service_present`, `configmap_present`, and `secret_present` states.
- Added unit tests to support the new context feature.
Added support for using context in templates for `deployment_present`, `pod_present`, `service_present`, `configmap_present`, and `secret_present` states.
Added unit tests to support the new context feature.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ requires-python = ">= 3.9"
dynamic = ["version"]
dependencies = [
"salt>=3006",
"kubernetes>=22.0; platform_system == 'Linux'",
"kubernetes>=19.15.0; platform_system == 'Linux'",
"PyYAML>=5.3.1",
]

Expand Down Expand Up @@ -76,7 +76,7 @@ tests = [
"pytest-helpers-namespace>=2019.1.8",
"pytest-subtests",
"pytest-timeout",
"kubernetes>=22.0",
"kubernetes>=19.15.0",
"PyYAML>=5.3.1",
"mock>=4.0.3",
"pytest-custom-exit-code>=0.3",
Expand Down
2 changes: 1 addition & 1 deletion src/saltext/kubernetes/modules/kubernetesmod.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""
Module for handling kubernetes calls.
:optdepends: - kubernetes Python client >= v22.0
:optdepends: - kubernetes Python client >= v19.15.0
- PyYAML >= 5.3.1
:configuration: The k8s API settings are provided either in a pillar, in
the minion's config file, or in master's config file::
Expand Down

0 comments on commit f092f88

Please sign in to comment.