Commit 6ee1358
committed
Update sync diff options to avoid common loops with k8s components
As DevWorkspaces can define Kubernetes objects in components, it's
necessary to improve the checks we do to determine if an object on the
cluster needs to be updated. This is especially an issue in the case of
defaulted fields in objects, as comparing in a straightforward way will
mean the object has to be updated every single time.
Signed-off-by: Angel Misevski <[email protected]>1 parent bb0a743 commit 6ee1358
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
140 | | - | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | | - | |
| 144 | + | |
| 145 | + | |
144 | 146 | | |
145 | 147 | | |
146 | 148 | | |
| |||
0 commit comments