mirror of
https://github.com/optim-enterprises-bv/control-pane.git
synced 2025-11-02 19:07:59 +00:00
* fixed oops
This commit is contained in:
@@ -2021,15 +2021,12 @@ class ClonOS {
|
|||||||
return $arr;
|
return $arr;
|
||||||
}
|
}
|
||||||
|
|
||||||
function ccmd_k8sCreate()
|
function ccmd_k8sCreate()
|
||||||
{
|
{
|
||||||
$form=$this->form;
|
$form=$this->form;
|
||||||
$res=array();
|
$res=array();
|
||||||
$ass_arr=array(
|
$ass_arr=array(
|
||||||
'
|
'master_nodes'=>'init_masters',
|
||||||
|
|
||||||
|
|
||||||
_nodes'=>'init_masters',
|
|
||||||
'worker_nodes'=>'init_workers',
|
'worker_nodes'=>'init_workers',
|
||||||
'master_ram'=>'master_vm_ram',
|
'master_ram'=>'master_vm_ram',
|
||||||
'master_cpus'=>'master_vm_cpus',
|
'master_cpus'=>'master_vm_cpus',
|
||||||
@@ -2063,7 +2060,6 @@ class ClonOS {
|
|||||||
{
|
{
|
||||||
if($form['pv_enable']=='on') $res['pv_enable']="1";
|
if($form['pv_enable']=='on') $res['pv_enable']="1";
|
||||||
}
|
}
|
||||||
|
|
||||||
$res['kubelet_master']="0";
|
$res['kubelet_master']="0";
|
||||||
if(isset($form['kubelet_master']))
|
if(isset($form['kubelet_master']))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user