-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support 3.x to 4.x upgrades when num_tokens are not set in k8ssa…
…ndraCluster (#1118) * fix: skip validation of num_tokens when upgrading from 3.x to 4.x Signed-off-by: Karol Szwaj <[email protected]> * add defaultNumTokens to k8ssadracluster Signed-off-by: Karol Szwaj <[email protected]> * support 3.x to 4.x upgrade when default num_tokens are set Signed-off-by: Karol Szwaj <[email protected]> * adjust webhook Signed-off-by: Karol Szwaj <[email protected]> * adjust webhook test Signed-off-by: Karol Szwaj <[email protected]> * adjust webhook test Signed-off-by: Karol Szwaj <[email protected]> * update test Signed-off-by: Karol Szwaj <[email protected]> * update datacenter test Signed-off-by: Karol Szwaj <[email protected]> * use float Signed-off-by: Karol Szwaj <[email protected]> --------- Signed-off-by: Karol Szwaj <[email protected]>
- Loading branch information
1 parent
c5045e8
commit 5542252
Showing
7 changed files
with
168 additions
and
22 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
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 |
---|---|---|
|
@@ -18,6 +18,7 @@ package k8ssandra | |
|
||
import ( | ||
"context" | ||
|
||
v1 "k8s.io/api/core/v1" | ||
|
||
"github.com/go-logr/logr" | ||
|
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