-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SKIP-1072 Allow 0 replicas for deployment (#246)
* Allow scaling down to 0 * Make skiperator hpa-compatible * Fix hashing for spec and labels * Fix labels and annotations * Remove replicas from assert * Use util function * Add tests for scaling and hpa * Add pdb test for 0 replicas * Fix test assert * Use non-cryptographic hashlib * Update controllers/application/deployment.go Co-authored-by: Even Holthe <[email protected]> * Remove unneeded stuff --------- Co-authored-by: Even Holthe <[email protected]>
- Loading branch information
Showing
24 changed files
with
386 additions
and
103 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
package root | ||
|
||
//go:generate controller-gen crd paths=./api/... | ||
//go:generate controller-gen crd paths=./... | ||
//go:generate controller-gen object paths=./... | ||
//go:generate controller-gen rbac:roleName=skiperator paths=./... |
Oops, something went wrong.