-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates TektonInstallerSet to allow replica changes to a deployment
This now updates the installer set to allow replica changes, it does it as follow - when creating a deployment it compute hash of spec and add it as annotation - while computing hash it set replicas to a const so that next time we can set replicas to same const and then calculate hash - if hash is different which would mean something is changed in spec other than hash - so it revert the spec to orignal and updates the replicas to what was on the cluster deployment - it will allow replica change but revert any other change to spec as the hash would change Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
- Loading branch information
Shivam Mukhade
committed
Nov 30, 2021
1 parent
0180d75
commit 89fa84b
Showing
2 changed files
with
156 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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