Commit 463bfb7
committed
fix(helpers): attach Layer2VIP to VLAN interface in generic multi-doc path
Mirror of the cozystack fix: when the default link is a VLAN,
$interfaceName is rewritten to the parent link while the VLAN
addresses/routes are emitted on $defaultLinkName. Use $defaultLinkName
for Layer2VIPConfig.link in that branch so the VIP stays on the VLAN.
Address review feedback from coderabbitai on charts/generic/templates/_helpers.tpl:152.
Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>1 parent cac8dd9 commit 463bfb7
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
147 | 151 | | |
148 | 152 | | |
149 | 153 | | |
150 | 154 | | |
151 | 155 | | |
152 | | - | |
| 156 | + | |
153 | 157 | | |
154 | 158 | | |
155 | 159 | | |
| |||
0 commit comments