Skip to content

fix: Rollout deployment restart was not working as expected - #7

Merged
edenreich merged 1 commit into
mainfrom
fix/preserve-existing-annotations-when-updating-deployment-template
Jun 23, 2025
Merged

edenreich merged 1 commit into
mainfrom
fix/preserve-existing-annotations-when-updating-deployment-template

Conversation

@edenreich

Copy link
Copy Markdown
Contributor

Summary

The fix - preserve existing annotations when updating deployment template.

Instead of completely disregarding existing annotations.

When the client sends a kubectl rollout restart deployment <deployment> an annotation restartedAt with timestamp is added to the deployment. This was completely disregarded, now it's fixed.

@edenreich
edenreich merged commit acfa571 into main Jun 23, 2025
@edenreich
edenreich deleted the fix/preserve-existing-annotations-when-updating-deployment-template branch June 23, 2025 20:05
inference-gateway-releaser Bot added a commit that referenced this pull request Jun 23, 2025
## [0.5.1](v0.5.0...v0.5.1) (2025-06-23)

### ♻️ Improvements

* Remove redundant comment in e2e test for controller pod description ([d8c3a32](d8c3a32))

### 🐛 Bug Fixes

* Correct symlink path for pre-commit hook activation ([84c19a2](84c19a2))
* Make ssl configuration of nginx more explicit ([#5](#5)) ([8c9875c](8c9875c))
* Preserve existing annotations when updating deployment template ([#7](#7)) ([acfa571](acfa571))

### 🔨 Miscellaneous

* Add .gitattributes to manage linguist settings for hooks and manifests ([87405d0](87405d0))
* Add missing test task to pre-commit hook for improved code quality ([656ca7a](656ca7a))
* Add operator-sdk installation and update zsh autocompletions ([7e8a19e](7e8a19e))
* Add pre-commit hook and update Taskfile for activation/deactivation ([7a18069](7a18069))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.5.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] When trying to restart the deployment the pod is not being restarted

1 participant