chore: bump k8s.io & controller-runtime dependencies#7455
chore: bump k8s.io & controller-runtime dependencies#7455mycrEEpy wants to merge 16 commits intokedacore:mainfrom
Conversation
…nerics in webhooks * update k8s.io/* to v0.35.1 * update sigs.k8s.io/controller-runtime to v0.23.1 Signed-off-by: Tobias <bvrcreepyx@hotmail.de>
Signed-off-by: Tobias <bvrcreepyx@hotmail.de>
|
Thank you for your contribution! 🙏 Please understand that we will do our best to review your PR and give you feedback as soon as possible, but please bear with us if it takes a little longer as expected. While you are waiting, make sure to:
Once the initial tests are successful, a KEDA member will ensure that the e2e tests are run. Once the e2e tests have been successfully completed, the PR may be merged at a later date. Please be patient. Learn more about our contribution guide. |
|
| Status | Scanner | Total (0) | ||||
|---|---|---|---|---|---|---|
| Open Source Security | 0 | 0 | 0 | 0 | See details |
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.
required for expfmt.NewTextParser Signed-off-by: Tobias <bvrcreepyx@hotmail.de>
Signed-off-by: Tobias <bvrcreepyx@hotmail.de>
Signed-off-by: Tobias <bvrcreepyx@hotmail.de>
Signed-off-by: Tobias <bvrcreepyx@hotmail.de>
Signed-off-by: Tobias <bvrcreepyx@hotmail.de>
mycrEEpy
left a comment
There was a problem hiding this comment.
Should we ignore the deprecation of GetEventRecorderFor for now to not bloat this PR?
|
|
||
| reader := strings.NewReader(bodyStr) | ||
| familiesParser := expfmt.TextParser{} | ||
| familiesParser := expfmt.NewTextParser(model.LegacyValidation) |
There was a problem hiding this comment.
Also, unsure about which ValidationScheme to use here..
There was a problem hiding this comment.
// LegacyValidation is a setting that requires that all metric and label names
// conform to the original Prometheus character requirements described by
// MetricNameRE and LabelNameRE.
LegacyValidation
// UTF8Validation only requires that metric and label names be valid UTF-8
// strings.
UTF8Validation| github.com/chzyer/logex => github.com/chzyer/logex v1.2.1 | ||
|
|
||
| // pin k8s.io to v0.34.3 & sigs.k8s.io/controller-runtime to v0.22.4 | ||
| // pin k8s.io to v0.35.1 & sigs.k8s.io/controller-runtime to v0.23.1 |
There was a problem hiding this comment.
ensure that these deps have the same version outside the replace please
There was a problem hiding this comment.
They are all on v0.35.1 outside of the replace.
The controller-runtime already was on v0.23.1.
I have also fixed the client-go version which was set to v1.5.2, an old, deprecated version.
if it's possible, let's solve it here |
Signed-off-by: Tobias <bvrcreepyx@hotmail.de>
Signed-off-by: Tobias <bvrcreepyx@hotmail.de>
| @@ -107,7 +108,7 @@ func (h *scaleHandler) buildScalers(ctx context.Context, withTriggers *kedav1alp | |||
| return nil, err | |||
| } | |||
There was a problem hiding this comment.
Semgrep identified an issue in your code:
Variable scaler is likely modified and later used on error. In some cases this could result in panics due to a nil dereference
To resolve this comment:
🔧 No guidance has been designated for this issue. Fix according to your organization's approved methods.
💬 Ignore this finding
Reply with Semgrep commands to ignore this finding.
/fp <comment>for false positive/ar <comment>for acceptable risk/other <comment>for all other reasons
Alternatively, triage in Semgrep AppSec Platform to ignore the finding created by invalid-usage-of-modified-variable.
You can view more details about this finding in the Semgrep AppSec Platform.
Signed-off-by: Tobias <bvrcreepyx@hotmail.de>
Signed-off-by: Tobias <bvrcreepyx@hotmail.de>
The new |
Signed-off-by: Tobias <bvrcreepyx@hotmail.de>
Signed-off-by: Tobias <bvrcreepyx@hotmail.de>
Signed-off-by: Tobias <bvrcreepyx@hotmail.de>
Signed-off-by: Tobias <bvrcreepyx@hotmail.de>
Signed-off-by: Tobias <bvrcreepyx@hotmail.de>
3c30756 to
3fd97ae
Compare
… and:
actionfor common event actionsChecklist
make generate-scalers-schemahas been run to update any outdated generated filesFixes #7413