Skip to content

Commit 6a6d9ed

Browse files
aleoliadamjensenbot
authored andcommitted
liqoctl set nodeport services in k3s
1 parent fde86ff commit 6a6d9ed

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pkg/liqoctl/install/k3s/provider.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,23 @@ func (k *k3sProvider) UpdateChartValues(values map[string]interface{}) {
139139
values["apiServer"] = map[string]interface{}{
140140
"address": k.apiServer,
141141
}
142+
values["auth"] = map[string]interface{}{
143+
"service": map[string]interface{}{
144+
"type": "NodePort",
145+
},
146+
}
142147
values["networkManager"] = map[string]interface{}{
143148
"config": map[string]interface{}{
144149
"serviceCIDR": k.serviceCIDR,
145150
"podCIDR": k.podCIDR,
146151
"reservedSubnets": installutils.GetInterfaceSlice(k.ReservedSubnets),
147152
},
148153
}
154+
values["gateway"] = map[string]interface{}{
155+
"service": map[string]interface{}{
156+
"type": "NodePort",
157+
},
158+
}
149159
values["discovery"] = map[string]interface{}{
150160
"config": map[string]interface{}{
151161
"clusterLabels": installutils.GetInterfaceMap(k.ClusterLabels),

0 commit comments

Comments
 (0)