Tags: kedacore/keda
Tags
Prepare v2.18.3 (#7334) * Merge commit from fork * fix: projected service accounts are validated to prevent arbitrary path reads Signed-off-by: Jorge Turrado <[email protected]> * validate signature Signed-off-by: Jorge Turrado <[email protected]> --------- Signed-off-by: Jorge Turrado <[email protected]> * update changelog Signed-off-by: Jorge Turrado <[email protected]> * Update releases Signed-off-by: Jorge Turrado <[email protected]> --------- Signed-off-by: Jorge Turrado <[email protected]> Signed-off-by: Jorge Turrado <[email protected]>
Prepare v2.17.3 (#7333) * Merge commit from fork * fix: projected service accounts are validated to prevent arbitrary path reads Signed-off-by: Jorge Turrado <[email protected]> * validate signature Signed-off-by: Jorge Turrado <[email protected]> --------- Signed-off-by: Jorge Turrado <[email protected]> * update changelog Signed-off-by: Jorge Turrado <[email protected]> * Update releases Signed-off-by: Jorge Turrado <[email protected]> --------- Signed-off-by: Jorge Turrado <[email protected]> Signed-off-by: Jorge Turrado <[email protected]>
Prepare 2.18.2 (#7299) * fix: Correct parse error ActiveMQ (#7245) Signed-off-by: Rick Brouwer <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * fix: metricUnavailableValue parameter not working in Datadog scaler (#7241) * fix: metricUnavailableValue parameter not working in Datadog scaler The UseFiller flag was not being set correctly when metricUnavailableValue was configured. This fix distinguishes between 'not configured' and 'explicitly set to 0' by checking TriggerMetadata directly. Changes: - Set UseFiller in validateAPIMetadata() when metricUnavailableValue exists - Set UseFiller in validateClusterAgentMetadata() when metricUnavailableValue exists - Remove UseFiller logic from Validate() (responsibility moved to validate functions) - Update tests to verify UseFiller behavior with various values including 0 This allows users to explicitly set metricUnavailableValue to 0 and have it work as a fallback value, while still erroring when not configured. Fixes #7238 Signed-off-by: Hiroki Matsui <[email protected]> * test: cover both API and ClusterAgent modes in UseFiller test Updated TestDatadogMetadataValidateUseFiller to test both validateAPIMetadata() and validateClusterAgentMetadata() code paths. This ensures that the UseFiller flag is correctly set in both integration modes. Test cases now cover: - API mode: 5 test cases (not configured, 0, positive, negative, decimal) - Cluster Agent mode: 5 test cases (same variations) Signed-off-by: Hiroki Matsui <[email protected]> * refactor: use pointer type for FillValue to avoid TriggerMetadata access Changed FillValue from float64 to *float64 to distinguish between 'not configured' (nil) and 'explicitly set to any value including 0'. This addresses reviewer feedback about avoiding direct TriggerMetadata access and improves type safety and refactoring resistance. Changes: - FillValue type changed from float64 to *float64 with optional tag - validateAPIMetadata checks nil instead of TriggerMetadata map - validateClusterAgentMetadata checks nil instead of TriggerMetadata map - Dereference FillValue when returning fallback value (2 locations) - Update tests to handle pointer type with proper nil checks Signed-off-by: Hiroki Matsui <[email protected]> --------- Signed-off-by: Hiroki Matsui <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * Fix ScaledObject pause behavior when HPA doesn't exist (#7233) When a ScaledObject has the paused annotation set before the HPA is created, the controller would fall through and create the HPA, ignoring the pause annotation. The fix writes the paused status to etcd immediately before stopping the scale loop or deleting the HPA. This prevents race conditions where concurrent reconciles triggered by HPA deletion would not see the paused status and perform redundant operations. The key insight is to establish the paused state in etcd BEFORE any operations that trigger new reconciles, ensuring subsequent reconciles see the paused status and exit early. This solution follows the approach suggested by @rickbrouwer. Fixes #7231 Signed-off-by: nusmql <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * fix: use TriggerError when all ScaledJob triggers fail (#7205) Signed-off-by: Rick Brouwer <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * Fix transfer-hpa-ownership panic when hpa name not provided (#7260) * chore: renormalize line endings Signed-off-by: James Williams <[email protected]> * fix: nil pointer when transfer-hpa-ownership is true but hpa name not specified (#7254) Signed-off-by: James Williams <[email protected]> * update changelog Signed-off-by: James Williams <[email protected]> * revert vendor changes Signed-off-by: James Williams <[email protected]> --------- Signed-off-by: James Williams <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * fix: restore HPA behavior when paused-scale-in/out annotation is deleted (#7291) When paused-scale-in or paused-scale-out annotation is deleted (not set to "false") and the corresponding selectPolicy (scaleDown.selectPolicy or scaleUp.selectPolicy) is not explicitly set in the ScaledObject spec, the HPA's SelectPolicy remains stuck at "Disabled" instead of being restored. This occurs even if other behavior fields like policies or stabilizationWindowSeconds are defined - only an explicit selectPolicy value triggers the update. Root cause: DeepDerivative treats nil as "unset" and considers it a subset of any value, so DeepDerivative(nil, Disabled) returns true, preventing the HPA update. Fix: Add explicit DeepEqual check for Behavior field, following the existing pattern used for Metrics length check. test: add e2e test for paused-scale-in annotation removal Signed-off-by: Dima Shevchuk <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * refactor: remove unused scaledObjectMetricSpecs variable (#7292) * refactor: remove unused scaledObjectMetricSpecs variable Signed-off-by: u-kai <[email protected]> * update CHANGELOG.md Signed-off-by: u-kai <[email protected]> --------- Signed-off-by: u-kai <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * fix: handle requestScaleLoop error in ScaledObject controller (#7273) * fix: handle requestScaleLoop error in ScaledObject controller Signed-off-by: u-kai <[email protected]> * chore: update CHANGELOG for PR #7273 Signed-off-by: u-kai <[email protected]> --------- Signed-off-by: u-kai <[email protected]> Signed-off-by: Jorge Turrado Ferrero <[email protected]> Co-authored-by: Jorge Turrado Ferrero <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * bump actions and go version (#7295) * bump actions and go version Signed-off-by: Jorge Turrado <[email protected]> * bump deps Signed-off-by: Jorge Turrado <[email protected]> * update pkgs Signed-off-by: Jorge Turrado <[email protected]> * update tools Signed-off-by: Jorge Turrado <[email protected]> * . Signed-off-by: Jorge Turrado <[email protected]> * fix test Signed-off-by: Jorge Turrado <[email protected]> * fix lint Signed-off-by: Jorge Turrado <[email protected]> * update setup-go to use go.mod version Signed-off-by: Jorge Turrado <[email protected]> * add nolint to exclude pulsar issues Signed-off-by: Jorge Turrado <[email protected]> * fix devenv Signed-off-by: Jorge Turrado <[email protected]> * fix codeql Signed-off-by: Jorge Turrado <[email protected]> * fix splunk test Signed-off-by: Jorge Turrado <[email protected]> * include job in links Signed-off-by: Jorge Turrado <[email protected]> * update to ubuntu-slim some runners Signed-off-by: Jorge Turrado <[email protected]> * Update apis/keda/v1alpha1/scaledobject_webhook_test.go Co-authored-by: Copilot <[email protected]> Signed-off-by: Jorge Turrado Ferrero <[email protected]> * Update .github/workflows/scorecards.yml Co-authored-by: Jan Wozniak <[email protected]> Signed-off-by: Jorge Turrado Ferrero <[email protected]> --------- Signed-off-by: Jorge Turrado <[email protected]> Signed-off-by: Jorge Turrado Ferrero <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Jan Wozniak <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * update changelog Signed-off-by: Jorge Turrado <[email protected]> --------- Signed-off-by: Rick Brouwer <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> Signed-off-by: Hiroki Matsui <[email protected]> Signed-off-by: nusmql <[email protected]> Signed-off-by: James Williams <[email protected]> Signed-off-by: Dima Shevchuk <[email protected]> Signed-off-by: u-kai <[email protected]> Signed-off-by: Jorge Turrado Ferrero <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> Co-authored-by: Rick Brouwer <[email protected]> Co-authored-by: Matchan <[email protected]> Co-authored-by: nusmql <[email protected]> Co-authored-by: James Williams <[email protected]> Co-authored-by: Dima Shevchuk <[email protected]> Co-authored-by: Kai Udo <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Jan Wozniak <[email protected]>
Prepare v2.18.1 (#7207) * Fix incorrect 'unmatched input property' notification (#7176) * Fix incorrect 'unmatched input property' notification Signed-off-by: Rick Brouwer <[email protected]> * Remove redundant parsing Signed-off-by: Rick Brouwer <[email protected]> * fix Signed-off-by: Rick Brouwer <[email protected]> * use typedconfig once Signed-off-by: Rick Brouwer <[email protected]> * static check Signed-off-by: Rick Brouwer <[email protected]> * Update test Signed-off-by: Rick Brouwer <[email protected]> * Update datadog_scaler_test.go Signed-off-by: Rick Brouwer <[email protected]> * update schemas Signed-off-by: Rick Brouwer <[email protected]> * fix test Signed-off-by: Rick Brouwer <[email protected]> * update typedconfig Signed-off-by: Rick Brouwer <[email protected]> * Update pkg/scalers/datadog_scaler.go Co-authored-by: Copilot <[email protected]> Signed-off-by: Rick Brouwer <[email protected]> --------- Signed-off-by: Rick Brouwer <[email protected]> Co-authored-by: Copilot <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * fix: add missing error returns in kafka scaler error handling (#7182) * fix: add missing error returns in kafka scaler error handling Add missing error returns after error logging in getTopicPartitions and getLagForPartition functions to prevent incorrect behavior when errors occur. - Add error return in getTopicPartitions when listCGOffsetResponse.Err > 0 - Add error return in getTopicPartitions when topicMetadata.Err > 0 - Add error return in getLagForPartition when block.Err > 0 Previously these functions only logged errors but continued execution, which could lead to incorrect scaling behavior. Signed-off-by: leeyeonwoo <[email protected]> * docs: update changelog for PR #7182 Signed-off-by: leeyeonwoo <[email protected]> --------- Signed-off-by: leeyeonwoo <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * Fix incorrect 'unmatched input property' notification (#7188) * Fix incorrect 'unmatched input property' notification Signed-off-by: Rick Brouwer <[email protected]> * add azure cloud Signed-off-by: Rick Brouwer <[email protected]> * fix Signed-off-by: Rick Brouwer <[email protected]> --------- Signed-off-by: Rick Brouwer <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * fix: feature flag for unexpected scaler param check (#7191) Signed-off-by: Jan Wozniak <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * Update prometheus dependency version (#7194) Updated prometheus dependency version to v0.54.0. Signed-off-by: Rick Brouwer <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * fix: send raw metrics also during polling interval (#7198) Signed-off-by: Zbynek Roubalik <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * update changelog Signed-off-by: Jorge Turrado <[email protected]> * . Signed-off-by: Jorge Turrado <[email protected]> * fix changelog Signed-off-by: Jorge Turrado <[email protected]> --------- Signed-off-by: Rick Brouwer <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> Signed-off-by: leeyeonwoo <[email protected]> Signed-off-by: Jan Wozniak <[email protected]> Signed-off-by: Zbynek Roubalik <[email protected]> Co-authored-by: Rick Brouwer <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: leeyeonwoo <[email protected]> Co-authored-by: Jan Wozniak <[email protected]> Co-authored-by: Zbynek Roubalik <[email protected]>
Prepare release v2.17.2 (#6841) * feat: grpc mTLS certificates are hot reloaded (#6756) Co-authored-by: Copilot <[email protected]> Signed-off-by: Jan Wozniak <[email protected]> * fix: temporal scaler was not setting up tls for apikey auth (#6781) * fix: temporal scaler was not setting up tls for apikey auth Signed-off-by: joaopaulosr95 <[email protected]> * Update CHANGELOG.md Co-authored-by: Jan Wozniak <[email protected]> Signed-off-by: João Bastos <[email protected]> --------- Signed-off-by: joaopaulosr95 <[email protected]> Signed-off-by: João Bastos <[email protected]> Signed-off-by: Jan Wozniak <[email protected]> Co-authored-by: Jan Wozniak <[email protected]> Signed-off-by: Jan Wozniak <[email protected]> * chore: changelog and issue template v2.17.2 Signed-off-by: Jan Wozniak <[email protected]> --------- Signed-off-by: Jan Wozniak <[email protected]> Signed-off-by: joaopaulosr95 <[email protected]> Signed-off-by: João Bastos <[email protected]> Co-authored-by: Jorge Turrado Ferrero <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: João Bastos <[email protected]>
Prepare release v2.17.1 (#6777) * fix: Admission Webhook blocks ScaledObject without metricType with fallback (#6702) * fix: Admission Webhook blocks ScaledObject without metricType with fallback Signed-off-by: rickbrouwer <[email protected]> * Add unit test Signed-off-by: Rick Brouwer <[email protected]> * Add e2e test Signed-off-by: rickbrouwer <[email protected]> * Add more unit tests for scaledobject_types Signed-off-by: Rick Brouwer <[email protected]> * Update changelog Signed-off-by: Rick Brouwer <[email protected]> * Update Signed-off-by: Rick Brouwer <[email protected]> --------- Signed-off-by: rickbrouwer <[email protected]> Signed-off-by: Rick Brouwer <[email protected]> Co-authored-by: Zbynek Roubalik <[email protected]> Signed-off-by: Jan Wozniak <[email protected]> * fix: AWS SQS Queue queueURLFromEnv not working (#6713) Signed-off-by: rickbrouwer <[email protected]> Signed-off-by: Jan Wozniak <[email protected]> * fix: Temporal scaler with API Key (#6707) Signed-off-by: Rick Brouwer <[email protected]> Signed-off-by: rickbrouwer <[email protected]> Signed-off-by: Jan Wozniak <[email protected]> * fix: add default Operation in Azure Service Bus scaler (#6731) Signed-off-by: Rick Brouwer <[email protected]> Signed-off-by: Jan Wozniak <[email protected]> * fix: ScalerCache gets the lock before operate the scalers (#6739) Signed-off-by: Jan Wozniak <[email protected]> * fix: Use pinned version for nginx image (#6737) * fix: Use pinned version for nginx image Signed-off-by: Jorge Turrado <[email protected]> * . Signed-off-by: Jorge Turrado <[email protected]> * fix panic in gcp scaler Signed-off-by: Jorge Turrado <[email protected]> --------- Signed-off-by: Jorge Turrado <[email protected]> Signed-off-by: Jan Wozniak <[email protected]> * Selenium Grid: Update metric name generated without part of empty (#6772) * Selenium Grid: Update metric name generated without part of empty Signed-off-by: Viet Nguyen Duc <[email protected]> * Update CHANGELOG with the PR Signed-off-by: Viet Nguyen Duc <[email protected]> --------- Signed-off-by: Viet Nguyen Duc <[email protected]> Signed-off-by: Jan Wozniak <[email protected]> * chore: changelog and issue template v2.17.1 Signed-off-by: Jan Wozniak <[email protected]> --------- Signed-off-by: rickbrouwer <[email protected]> Signed-off-by: Rick Brouwer <[email protected]> Signed-off-by: Jan Wozniak <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> Signed-off-by: Viet Nguyen Duc <[email protected]> Co-authored-by: rickbrouwer <[email protected]> Co-authored-by: Zbynek Roubalik <[email protected]> Co-authored-by: Jorge Turrado Ferrero <[email protected]> Co-authored-by: Viet Nguyen Duc <[email protected]>
Clean changelog (#6692) * Clean changelog Signed-off-by: Jorge Turrado <[email protected]> * Clean changelog Signed-off-by: Jorge Turrado <[email protected]> * Clean changelog Signed-off-by: Jorge Turrado <[email protected]> --------- Signed-off-by: Jorge Turrado <[email protected]> Co-authored-by: Jorge Turrado <[email protected]>
Prepare v2.16.1 (#6436) * fix: CVE-2024-45337 (#6422) Signed-off-by: Jorge Turrado <[email protected]> * :fix: ensure consistent JSON log format for automaxprocs (#6335) * fix: ensure consistent JSON log format for automaxprocs Signed-off-by: Omer Aplatony <[email protected]> * moved to Unreleased Signed-off-by: Omer Aplatony <[email protected]> --------- Signed-off-by: Omer Aplatony <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * Upgrade to the latest new-relic-go v2 client (#6325) Signed-off-by: Jorge Turrado <[email protected]> * refactor: replace experimental `maps` and `slices` with stdlib (#6372) Signed-off-by: Eng Zer Jun <[email protected]> Signed-off-by: Jan Wozniak <[email protected]> Co-authored-by: Jan Wozniak <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * fix: Selenium Grid scaler exposes sum of pending and ongoing sessions to KDEA (#6368) Signed-off-by: Jorge Turrado <[email protected]> * fix: scaledjobs stuck as not ready (#6329) since code was missing for setting a scaledjob as ready it was stuck as unready if there ever was a problem This is a fix for a regression in #5916 Signed-off-by: Mårten Svantesson <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * fix: Paused ScaledObject count is reported correctly after operator restart (#6322) Signed-off-by: Jorge Turrado <[email protected]> * update changelog Signed-off-by: Jorge Turrado <[email protected]> * Bump go and deps (#6434) * Bump go and deps Signed-off-by: Jorge Turrado <[email protected]> * bump golang.org/x/net Signed-off-by: Jorge Turrado <[email protected]> * Add missing permissions to code-scaners Signed-off-by: Jorge Turrado <[email protected]> * update release tracker Signed-off-by: Jorge Turrado <[email protected]> * fix aws scaler Signed-off-by: Jorge Turrado <[email protected]> * Pass theregion Signed-off-by: Jorge Turrado <[email protected]> * Pass theregion Signed-off-by: Jorge Turrado <[email protected]> * fix aws tests Signed-off-by: Jorge Turrado <[email protected]> * fix aws tests Signed-off-by: Jorge Turrado <[email protected]> * Update AWS admission probes Signed-off-by: Jorge Turrado <[email protected]> --------- Signed-off-by: Jorge Turrado <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * commit last vendored deps Signed-off-by: Jorge Turrado <[email protected]> * fix: Selenium Grid in case multiple scaler triggers are activate (#6437) * fix: Selenium Grid scaler avoids overlapping when multiple browserVersion triggers are active Signed-off-by: Viet Nguyen Duc <[email protected]> * Update CHANGELOG Signed-off-by: Viet Nguyen Duc <[email protected]> * Fix e2e template test Signed-off-by: Viet Nguyen Duc <[email protected]> * Change imagePullPolicy to Always to take latest change Signed-off-by: Viet Nguyen Duc <[email protected]> * Update platformName default value as empty Signed-off-by: Viet Nguyen Duc <[email protected]> --------- Signed-off-by: Viet Nguyen Duc <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> * add missing change Signed-off-by: Jorge Turrado <[email protected]> --------- Signed-off-by: Jorge Turrado <[email protected]> Signed-off-by: Omer Aplatony <[email protected]> Signed-off-by: Eng Zer Jun <[email protected]> Signed-off-by: Jan Wozniak <[email protected]> Signed-off-by: Mårten Svantesson <[email protected]> Signed-off-by: Jorge Turrado <[email protected]> Signed-off-by: Viet Nguyen Duc <[email protected]> Co-authored-by: Omer Aplatony <[email protected]> Co-authored-by: smcavallo <[email protected]> Co-authored-by: Eng Zer Jun <[email protected]> Co-authored-by: Jan Wozniak <[email protected]> Co-authored-by: Viet Nguyen Duc <[email protected]> Co-authored-by: Mårten Svantesson <[email protected]>
PreviousNext