Skip to content

feat: implement multi version K8s build matrix and docker arguments (#27)#29

Open
danishdynamic wants to merge 1 commit into52North:mainfrom
danishdynamic:feat/k8s-matrix-build
Open

feat: implement multi version K8s build matrix and docker arguments (#27)#29
danishdynamic wants to merge 1 commit into52North:mainfrom
danishdynamic:feat/k8s-matrix-build

Conversation

@danishdynamic
Copy link
Copy Markdown

Description:

This PR improves the build pipeline to support different kubernetes versions by introducing a build matrix and configuring both build time and run time versioning.

Key Changes:

  • Multi version support: Added a strategy.matrix to the github actions workflow to build images for k8s versions 1.33, 1.34, and 1.35 in parallel.

  • Dynamic tagging: Updated docker tags to include the k8s version (e.g., k8s-1.35), ensuring clear identification on docker hub.

  • Dockerfile configuration:

  • Added ARG K8S_VERSION to accept the version from the CI matrix.

  • Added ENV K8S_VERSION to make the cluster version available to the pygeoapi-k8s-manager at runtime.

  • Tooling: Integrated uv in the pipeline for faster, locked dependency management.

@EHJ-52n
Copy link
Copy Markdown
Member

EHJ-52n commented Apr 17, 2026

Please keep the pygeoapi-manager version in the tag, e.g. 52north/pygeoapi-k8s-manager:0.24-1.34. The 0.24 comes from the git tag v0.24 for example.

@EHJ-52n
Copy link
Copy Markdown
Member

EHJ-52n commented Apr 17, 2026

Furthermore, you should also consider the pyproject.toml, as it also manages the Kubernetes version.

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