Commit 778fce3
authored
fix(controller): add backward compatibility for --metricsport flag (#4457)
* fix(controller): add backward compatibility for --metricsport flag. Fixes #4428
Add deprecated --metricsport flag alias to maintain backward compatibility
with Helm charts while encouraging migration to --metricsPort.
- Adds --metricsport as deprecated alias for --metricsPort
- Shows deprecation warning when --metricsport is used
- Maintains full backward compatibility with existing deployments
Signed-off-by: puretension <rlrlfhtm5@gmail.com>
* fix: correct JSONPath in inconclusive background analysis test
- Change jsonPath from {$.json} to {$} to get full response
- Update conditions to use result.json.status instead of result.status
- Fixes flaky TestCanaryInconclusiveBackgroundAnalysis e2e test
Signed-off-by: puretension <rlrlfhtm5@gmail.com>
---------
Signed-off-by: puretension <rlrlfhtm5@gmail.com>1 parent a40c40a commit 778fce3
File tree
3 files changed
+26
-3
lines changed- cmd/rollouts-controller
- test/e2e/functional
3 files changed
+26
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| 306 | + | |
| 307 | + | |
306 | 308 | | |
307 | 309 | | |
308 | 310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
0 commit comments