Skip to content

Generator: Update SDK /services/ske #666

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

Merged
merged 2 commits into from
Feb 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
- New value `eu02` in region enum
- `postgresflex`: [v1.0.0](services/postgresflex/CHANGELOG.md#v100-2025-02-27)
- **Breaking Change:** The region is no longer specified within the client configuration. Instead, the region must be passed as a parameter to any region-specific request.
- `ske`: [v0.4.0](services/ske/CHANGELOG.md#v040-2025-02-27)
- `Nodepool`: `maximum` and `minimum` must be <= 1000

## Release (2025-02-11)

Expand Down
4 changes: 4 additions & 0 deletions services/ske/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v0.4.0 (2025-02-27)

- `Nodepool`: `maximum` and `minimum` must be <= 1000

## v0.3.0 (2025-02-06)

- **Removal:** The following methods were removed after deprecation (2024-04-16) and [`serviceenablement` SDK](https://github.com/stackitcloud/stackit-sdk-python/tree/main/services/serviceenablement) must be used instead.
Expand Down
8 changes: 6 additions & 2 deletions services/ske/src/stackit/ske/models/nodepool.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ class Nodepool(BaseModel):
machine: Machine
max_surge: Optional[StrictInt] = Field(default=None, alias="maxSurge")
max_unavailable: Optional[StrictInt] = Field(default=None, alias="maxUnavailable")
maximum: Annotated[int, Field(strict=True, ge=1)]
minimum: StrictInt
maximum: Annotated[int, Field(le=1000, strict=True, ge=1)] = Field(
description="Maximum number of nodes in the pool. During runtime, the cluster will never scale beyond 1000 nodes, even if the total maximum would allow for a larger cluster."
)
minimum: Annotated[int, Field(le=1000, strict=True)] = Field(
description="Minimum number of nodes in the pool. The sum of all minima must not exceed 1000."
)
name: StrictStr = Field(description="Maximum 15 chars")
taints: Optional[List[Taint]] = None
volume: Volume
Expand Down
Loading