Skip to content

Commit

Permalink
Use busPath as selector for network devices
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Kvapil <[email protected]>
  • Loading branch information
kvaps committed Aug 12, 2024
1 parent 1a00187 commit d16798c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions charts/talm/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@
{{- range (lookup "routes" "" "").items }}
{{- if and (eq .spec.dst "") (not (eq .spec.gateway "")) }}
{{- with (lookup "links" "" .spec.outLinkName) }}
hardwareAddr: {{ .spec.hardwareAddr }}
driver: {{ .spec.driver }}
busPath: {{ .spec.busPath }}
{{- break }}
{{- end }}
{{- end }}
Expand Down
3 changes: 1 addition & 2 deletions pkg/generated/presets.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,7 @@ description: A library Talm chart for Talos Linux
{{- range (lookup "routes" "" "").items }}
{{- if and (eq .spec.dst "") (not (eq .spec.gateway "")) }}
{{- with (lookup "links" "" .spec.outLinkName) }}
hardwareAddr: {{ .spec.hardwareAddr }}
driver: {{ .spec.driver }}
busPath: {{ .spec.busPath }}
{{- break }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit d16798c

Please sign in to comment.