Commit 5f847b9
committed
fix: do not tag non-owned ERIs with creator=alibabacloud-erdma-controller
EnsureEriTags is called on ENIs that may not have been created by this
controller (ECS-console pre-bound ERDMA NICs, Primary ENIs converted to
RDMA, backfilled legacy nodes). Tagging them with creator=alibabacloud-
erdma-controller is misleading. Only the terway-excluded and instance-id
tags are now applied; the creator tag remains exclusively on ENIs this
controller actually creates via CreateNetworkInterface.1 parent 06e5d4e commit 5f847b9
2 files changed
Lines changed: 5 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | 89 | | |
107 | 90 | | |
108 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
202 | 206 | | |
203 | 207 | | |
204 | 208 | | |
| |||
207 | 211 | | |
208 | 212 | | |
209 | 213 | | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| |||
0 commit comments