Commit 2d4212f
committed
refactor: fail early when no tier mapping configmap is found
Previously, missing tier mapping configmaps were silently defaulted to `free`,
which could mislead users and hide configuration issues. By failing fast, users
are immediately informed of the problem and can correct it, avoiding confusion
and unintended behavior.
The component now explicitly fails when the configmap is missing instead of
falling back to the `free` tier.
Signed-off-by: Bartosz Majsak <bartosz.majsak@gmail.com>1 parent e315444 commit 2d4212f
2 files changed
+23
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 20 | | |
29 | 21 | | |
30 | 22 | | |
| |||
38 | 30 | | |
39 | 31 | | |
40 | 32 | | |
41 | | - | |
| 33 | + | |
42 | 34 | | |
43 | 35 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 36 | + | |
47 | 37 | | |
48 | 38 | | |
49 | | - | |
50 | | - | |
51 | 39 | | |
52 | | - | |
53 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
54 | 43 | | |
55 | 44 | | |
56 | | - | |
| 45 | + | |
57 | 46 | | |
58 | 47 | | |
59 | 48 | | |
| |||
90 | 79 | | |
91 | 80 | | |
92 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
93 | 91 | | |
94 | 92 | | |
95 | 93 | | |
| |||
109 | 107 | | |
110 | 108 | | |
111 | 109 | | |
112 | | - | |
| 110 | + | |
113 | 111 | | |
114 | 112 | | |
115 | 113 | | |
116 | 114 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
88 | 91 | | |
89 | 92 | | |
90 | 93 | | |
| |||
117 | 120 | | |
118 | 121 | | |
119 | 122 | | |
120 | | - | |
121 | | - | |
122 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
123 | 126 | | |
124 | 127 | | |
125 | 128 | | |
| |||
0 commit comments