Commit cdd9d70
Update to latest manifestival to apply strategic merge patches to its resources. (knative#243)
* Pull in latest manifestival client-go branch
This employs the k8s 3-way strategic merging for all manifest
resources except ConfigMaps.
This makes manifestival's Apply behave like kubectl apply.
* Eliminate superfluous updates on Deployments and Images among others
This should remove the noise in the logs from manifestival trying to
update resources right after they're created. When we convert from
unstructured to typed structs and back, we get zeroed defaults added
to the unstructured objects (usually creationTimestamp) which
manifestival interprets as a change worth persisting.1 parent 5fc98d3 commit cdd9d70
File tree
7 files changed
+355
-42
lines changed- pkg/reconciler/knativeserving/common
- third_party
- vendor
- github.com/jcrossley3/manifestival
- patch
- k8s.io/apimachinery/pkg/util/jsonmergepatch
7 files changed
+355
-42
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| 58 | + | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
| |||
109 | 113 | | |
110 | 114 | | |
111 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
112 | 120 | | |
113 | 121 | | |
114 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1163 | 1163 | | |
1164 | 1164 | | |
1165 | 1165 | | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
1166 | 1197 | | |
1167 | 1198 | | |
1168 | 1199 | | |
| |||
8524 | 8555 | | |
8525 | 8556 | | |
8526 | 8557 | | |
8527 | | - | |
| |||
Lines changed: 14 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 131 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments