Skip to content

Commit

Permalink
Propagate config
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Jerram committed Mar 2, 2021
1 parent b9597b1 commit ae01574
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/internal/apis/config/convert_v1alpha4.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ func convertv1alpha4Node(in *v1alpha4.Node, out *Node) {
out.ExtraMounts = make([]Mount, len(in.ExtraMounts))
out.ExtraPortMappings = make([]PortMapping, len(in.ExtraPortMappings))
out.KubeadmConfigPatchesJSON6902 = make([]PatchJSON6902, len(in.KubeadmConfigPatchesJSON6902))
out.Networks = in.Networks
out.Loopback = in.Loopback
out.Routes = in.Routes

for i := range in.ExtraMounts {
convertv1alpha4Mount(&in.ExtraMounts[i], &out.ExtraMounts[i])
Expand Down

0 comments on commit ae01574

Please sign in to comment.