Skip to content

Commit a3e2090

Browse files
wozniakjanrickbrouwerzroubalikJorTurFerVietND96
authored
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 <rickbrouwer@gmail.com> * Add unit test Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com> * Add e2e test Signed-off-by: rickbrouwer <rickbrouwer@gmail.com> * Add more unit tests for scaledobject_types Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com> * Update changelog Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com> * Update Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com> --------- Signed-off-by: rickbrouwer <rickbrouwer@gmail.com> Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com> Co-authored-by: Zbynek Roubalik <zroubalik@gmail.com> Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com> * fix: AWS SQS Queue queueURLFromEnv not working (#6713) Signed-off-by: rickbrouwer <rickbrouwer@gmail.com> Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com> * fix: Temporal scaler with API Key (#6707) Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com> Signed-off-by: rickbrouwer <rickbrouwer@gmail.com> Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com> * fix: add default Operation in Azure Service Bus scaler (#6731) Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com> Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com> * fix: ScalerCache gets the lock before operate the scalers (#6739) Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com> * fix: Use pinned version for nginx image (#6737) * fix: Use pinned version for nginx image Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es> * . Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es> * fix panic in gcp scaler Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es> --------- Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es> Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com> * 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 <nguyenducviet4496@gmail.com> * Update CHANGELOG with the PR Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com> --------- Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com> Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com> * chore: changelog and issue template v2.17.1 Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com> --------- Signed-off-by: rickbrouwer <rickbrouwer@gmail.com> Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com> Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com> Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es> Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com> Co-authored-by: rickbrouwer <rickbrouwer@gmail.com> Co-authored-by: Zbynek Roubalik <zroubalik@gmail.com> Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es> Co-authored-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
1 parent dafd9a8 commit a3e2090

File tree

98 files changed

+1053
-140
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1053
-140
lines changed

.github/ISSUE_TEMPLATE/3_bug_report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ body:
5757
label: KEDA Version
5858
description: What version of KEDA that are you running?
5959
options:
60+
- "2.17.1"
6061
- "2.17.0"
6162
- "2.16.1"
6263
- "2.16.0"

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ To learn more about active deprecations, we recommend checking [GitHub Discussio
1616
## History
1717

1818
- [Unreleased](#unreleased)
19-
- [v2.17.0](#v2161)
19+
- [v2.17.1](#v2171)
20+
- [v2.17.0](#v2170)
2021
- [v2.16.1](#v2161)
2122
- [v2.16.0](#v2160)
2223
- [v2.15.1](#v2151)
@@ -90,6 +91,20 @@ New deprecation(s):
9091

9192
- TODO ([#XXX](https://github.com/kedacore/keda/issues/XXX))
9293

94+
## v2.17.1
95+
96+
### Improvements
97+
98+
- **Selenium Grid**: Update metric name generated without part of empty ([#6772](https://github.com/kedacore/keda/pull/6772))
99+
100+
### Fixes
101+
102+
- **General**: Admission Webhook blocks ScaledObject without metricType with fallback ([#6696](https://github.com/kedacore/keda/issues/6696))
103+
- **General**: ScalerCache gets the lock before operate the scalers to prevent panics ([#6739](https://github.com/kedacore/keda/pull/6739))
104+
- **AWS SQS Queue Scaler**: Fix AWS SQS Queue queueURLFromEnv not working ([#6712](https://github.com/kedacore/keda/issues/6712))
105+
- **Azure Service Bus scaler**: Fix Azure Service Bus scaler add default Operation ([#6730](https://github.com/kedacore/keda/issues/6730))
106+
- **Temporal Scaler**: Fix Temporal Scaler does not work properly with API Key authentication against Temporal Cloud as TLS is not enabled on the client ([#6703](https://github.com/kedacore/keda/issues/6703))
107+
93108
## v2.17.0
94109

95110
### New

apis/keda/v1alpha1/scaledobject_types.go

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,13 @@ func CheckFallbackValid(scaledObject *ScaledObject) error {
305305
if trigger.Type == cpuString || trigger.Type == memoryString {
306306
continue
307307
}
308-
// If at least one trigger is of the type `AverageValue`, then having fallback is valid.
309-
if trigger.MetricType == autoscalingv2.AverageValueMetricType {
308+
309+
effectiveMetricType := trigger.MetricType
310+
if effectiveMetricType == "" {
311+
effectiveMetricType = autoscalingv2.AverageValueMetricType
312+
}
313+
314+
if effectiveMetricType == autoscalingv2.AverageValueMetricType {
310315
fallbackValid = true
311316
break
312317
}

0 commit comments

Comments
 (0)