mirror of https://github.com/kubernetes/kops.git
Generate API
This commit is contained in:
parent
0d03095fda
commit
134727a2e7
|
@ -896,6 +896,9 @@ spec:
|
|||
description: Version used to pick the runc package.
|
||||
type: string
|
||||
type: object
|
||||
selinuxEnabled:
|
||||
description: SelinuxEnabled enables SELinux support
|
||||
type: boolean
|
||||
skipInstall:
|
||||
description: SkipInstall prevents kOps from installing and modifying
|
||||
containerd in any way (default "false").
|
||||
|
|
|
@ -199,6 +199,9 @@ spec:
|
|||
description: Version used to pick the runc package.
|
||||
type: string
|
||||
type: object
|
||||
selinuxEnabled:
|
||||
description: SelinuxEnabled enables SELinux support
|
||||
type: boolean
|
||||
skipInstall:
|
||||
description: SkipInstall prevents kOps from installing and modifying
|
||||
containerd in any way (default "false").
|
||||
|
|
|
@ -40,6 +40,8 @@ type ContainerdConfig struct {
|
|||
NvidiaGPU *NvidiaGPUConfig `json:"nvidiaGPU,omitempty"`
|
||||
// Runc configures the runc runtime.
|
||||
Runc *Runc `json:"runc,omitempty"`
|
||||
// SelinuxEnabled enables SELinux support
|
||||
SeLinuxEnabled bool `json:"selinuxEnabled,omitempty"`
|
||||
}
|
||||
|
||||
type NvidiaGPUConfig struct {
|
||||
|
|
|
@ -3114,6 +3114,7 @@ func autoConvert_v1alpha2_ContainerdConfig_To_kops_ContainerdConfig(in *Containe
|
|||
} else {
|
||||
out.Runc = nil
|
||||
}
|
||||
out.SeLinuxEnabled = in.SeLinuxEnabled
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -3158,6 +3159,7 @@ func autoConvert_kops_ContainerdConfig_To_v1alpha2_ContainerdConfig(in *kops.Con
|
|||
} else {
|
||||
out.Runc = nil
|
||||
}
|
||||
out.SeLinuxEnabled = in.SeLinuxEnabled
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
@ -40,6 +40,8 @@ type ContainerdConfig struct {
|
|||
NvidiaGPU *NvidiaGPUConfig `json:"nvidiaGPU,omitempty"`
|
||||
// Runc configures the runc runtime.
|
||||
Runc *Runc `json:"runc,omitempty"`
|
||||
// SelinuxEnabled enables SELinux support
|
||||
SeLinuxEnabled bool `json:"selinuxEnabled,omitempty"`
|
||||
}
|
||||
|
||||
type NvidiaGPUConfig struct {
|
||||
|
|
|
@ -3325,6 +3325,7 @@ func autoConvert_v1alpha3_ContainerdConfig_To_kops_ContainerdConfig(in *Containe
|
|||
} else {
|
||||
out.Runc = nil
|
||||
}
|
||||
out.SeLinuxEnabled = in.SeLinuxEnabled
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -3369,6 +3370,7 @@ func autoConvert_kops_ContainerdConfig_To_v1alpha3_ContainerdConfig(in *kops.Con
|
|||
} else {
|
||||
out.Runc = nil
|
||||
}
|
||||
out.SeLinuxEnabled = in.SeLinuxEnabled
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue