Commit 291660d
authored
feat(inject): Populate proxy tracing values from annotations (#14592)
* feat: Add label for root parent object
Signed-off-by: Scott Fleener <[email protected]>
* fix: Use correct format for API resource
The GroupVersionResource requires the resource to be both lowercase and plural.
Signed-off-by: Scott Fleener <[email protected]>
* chore(docs): Add godoc for RootOwnerRetrieverFunc
Signed-off-by: Scott Fleener <[email protected]>
* chore(inject): Add group label for root parent
Signed-off-by: Scott Fleener <[email protected]>
* feat(inject): Populate proxy tracing values from annotations
This adds functionality to the proxy injector that parses tracing semantic convention annotations and labels, and populates those into the trace labels provided to the proxy.
This also updates the set of extra labels (pod IP, pod ID, etc.) to be part of the control plane values, which both allows user customization and the proxy injector to modify those values directly.
Signed-off-by: Scott Fleener <[email protected]>
* test(inject): Update webhook tests for root owner annotations
Signed-off-by: Scott Fleener <[email protected]>
* chore(inject): Fix test failures
Signed-off-by: Scott Fleener <[email protected]>
---------
Signed-off-by: Scott Fleener <[email protected]>1 parent 7746264 commit 291660d
File tree
28 files changed
+2511
-7
lines changed- charts
- linkerd-control-plane
- partials/templates
- cli/cmd
- testdata
- pkg
- charts/linkerd2
- inject
- k8s
28 files changed
+2511
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
289 | 296 | | |
290 | 297 | | |
291 | 298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | | - | |
177 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
130 | 135 | | |
131 | 136 | | |
132 | 137 | | |
| |||
263 | 268 | | |
264 | 269 | | |
265 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
266 | 281 | | |
267 | 282 | | |
268 | 283 | | |
| |||
282 | 297 | | |
283 | 298 | | |
284 | 299 | | |
| 300 | + | |
285 | 301 | | |
286 | 302 | | |
287 | 303 | | |
| |||
Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments