feat(container)!: Update image ghcr.io/home-operations/k8s-sidecar ( 1.30.10 → 2.1.4 )
This MR contains the following updates:
| Package | Update | Change |
|---|---|---|
| ghcr.io/home-operations/k8s-sidecar (source) | major |
1.30.10 -> 2.1.4
|
Release Notes
kiwigrid/k8s-sidecar (ghcr.io/home-operations/k8s-sidecar)
v2.1.4
📦 Dependencies
- Bump actions/checkout from 5.0.1 to 6.0.0
- MR: #472
- Bump actions/upload-artifact from 4.6.2 to 5.0.0
- MR: #459
- Bump actions/download-artifact from 5.0.0 to 6.0.0
- MR: #456
- Bump fastapi from 0.121.0 to 0.122.0 in /src
- MR: #470
v2.1.3
📦 Dependencies
- Bump github/codeql-action from 4.31.2 to 4.31.3
- MR: #466
- Bump actions/checkout from 5.0.0 to 5.0.1
- MR: #467
- Bump softprops/action-gh-release from 2.4.1 to 2.4.2
- MR: #463
- Bump github/codeql-action from 4.31.3 to 4.31.5
- MR: #471
v2.1.2
📦 Dependencies
- Bump mikepenz/release-changelog-builder-action from 6.0.0 to 6.0.1
- MR: #458
- Bump docker/setup-qemu-action from 3.6.0 to 3.7.0
- MR: #457
- Bump fastapi from 0.115.2 to 0.121.0 in /src
- MR: #452
v2.1.1
📦 Dependencies
- Bump mikepenz/release-changelog-builder-action from 6.0.0 to 6.0.1
- MR: #458
- Bump docker/setup-qemu-action from 3.6.0 to 3.7.0
- MR: #457
- Bump fastapi from 0.115.2 to 0.121.0 in /src
- MR: #452
v2.1.0
🚀 Features
- wyn_skip_init: - add flag to skip initial request to REQ_URL when using WATCH
- MR: #433
📦 Dependencies
- Bump actions/upload-artifact from 4 to 5
- MR: #439
- Bump actions/download-artifact from 5 to 6
- MR: #440
v2.0.3
Build
Enhancements
-
Add health endpoint with readiness and liveness probes (#416)
-
New /healthz Endpoint: A new HTTP endpoint is available on port 8080 (configurable via the HEALTH_PORT environment variable)
-
Readiness Probe:
- The sidecar now reports as "ready" (HTTP 200) only after the initial synchronization of all configured resources is complete
- This prevents the main application container from starting or receiving traffic prematurely, ensuring all configuration files are present at startup
-
Liveness Probe:
- The probe continuously monitors the sidecar's health by checking two critical conditions:
- Kubernetes API Contact: Verifies that the sidecar has had successful contact with the Kubernetes API within the last 60 seconds
- Watcher Process Health: Ensures that all internal watcher subprocesses are running correctly
- If any check fails, the probe fails, signaling Kubernetes to restart the container
- The probe continuously monitors the sidecar's health by checking two critical conditions:
-
-
Reduced Log Noise: Access logs for frequent /healthz requests are automatically filtered out to keep application logs clean and focused
-
Fail-Fast on Process Death: The main process now exits immediately if a critical watcher subprocess dies, ensuring a prompt restart by Kubernetes
Testing
- The CI pipeline has been enhanced with new tests to validate this functionality:
- A test to confirm the Uvicorn health server starts successfully
- A liveness test that simulates a watcher process failure and asserts that Kubernetes restarts the pod as expected
- A Kubernetes Config load test for Sleep and Watch based sidecar
v1.30.11
📦 Dependencies
- Bump python-json-logger from 3.3.0 to 4.0.0 in /src
- MR: #424
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.