Commit 73869d3
committed
fix: add AEG_NODE_ID env var for backward compat with old dataplane images
Commit b91b087 renamed AEG_NODE_ID to NANTIAN_GW_NODE_ID in the dataplane
config code, but CI tests use pinned dataplane images that still read the
old AEG_NODE_ID env var. Without it, the dataplane falls back to the static
config value 'dp-kind', which never matches the pod name, making the node
never eligible for managed EndpointSlices.
Add both env vars pointing to metadata.name so both old and new dataplane
images correctly identify the node.1 parent fc94302 commit 73869d3
2 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
60 | 67 | | |
61 | 68 | | |
62 | 69 | | |
| |||
0 commit comments