Repository navigation
fix: Rollout deployment restart was not working as expected - #7
Merged
edenreich merged 1 commit intoJun 23, 2025
Conversation
Signed-off-by: Eden Reich <[email protected]>
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))
Contributor
|
🎉 This PR is included in version 0.5.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
5 tasks
Closed
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.