Commit 4a693c0
authored
Apply presets before applying defaults (#2778)
## Why
Presets should have more priority and need to see the configuration
before common defaults are applied, because this mutator is making
decisions based on presence of user-provided fields in the
configuration.
This does not matter currently where we only have few defaults, but will
start to matter once we add more, like in
#2767
Previous PR #2777 makes it
possible to move this without issues.
## Tests
Existing tests for empty resource added in
#2771 and
#27741 parent 842bcd6 commit 4a693c0
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
61 | | - | |
62 | | - | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
0 commit comments