liqoctl set nodeport services in k3s
@@ -139,6 +139,11 @@ func (k *k3sProvider) UpdateChartValues(values map[string]interface{}) {
values["apiServer"] = map[string]interface{}{
"address": k.apiServer,
}
+ values["auth"] = map[string]interface{}{
+ "service": map[string]interface{}{
+ "type": "NodePort",
+ },
+ }
values["networkManager"] = map[string]interface{}{
"config": map[string]interface{}{
"serviceCIDR": k.serviceCIDR,
@@ -146,6 +151,11 @@ func (k *k3sProvider) UpdateChartValues(values map[string]interface{}) {
"reservedSubnets": installutils.GetInterfaceSlice(k.ReservedSubnets),
},
}
+ values["gateway"] = map[string]interface{}{
+ "service": map[string]interface{}{
+ "type": "NodePort",
+ },
+ }
values["discovery"] = map[string]interface{}{
"config": map[string]interface{}{
"clusterLabels": installutils.GetInterfaceMap(k.ClusterLabels),
