v1beta1

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package v1beta1 defines the v1beta1 version of KubeOneCluster API

Index

Constants

View Source
const (
	// DefaultPodSubnet defines the default subnet used by pods
	DefaultPodSubnet = "10.244.0.0/16"
	// DefaultServiceSubnet defines the default subnet used by services
	DefaultServiceSubnet = "10.96.0.0/12"
	// DefaultServiceDNS defines the default DNS domain name used by services
	DefaultServiceDNS = "cluster.local"
	// DefaultNodePortRange defines the default NodePort range
	DefaultNodePortRange = "30000-32767"
	// DefaultStaticNoProxy defined static NoProxy
	DefaultStaticNoProxy = "127.0.0.1/8,localhost"
	// DefaultCanalMTU defines default VXLAN MTU for Canal CNI
	DefaultCanalMTU = 1450
)
View Source
const GroupName = "kubeone.io"

GroupName is the name of the group used by this API

Variables

View Source
var (
	// SchemeBuilder points to a list of functions added to Scheme
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme applies all the stored functions to the Scheme
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register API objects

Functions

func Convert_kubeone_APIEndpoint_To_v1beta1_APIEndpoint

func Convert_kubeone_APIEndpoint_To_v1beta1_APIEndpoint(in *kubeone.APIEndpoint, out *APIEndpoint, s conversion.Scope) error

Convert_kubeone_APIEndpoint_To_v1beta1_APIEndpoint is an autogenerated conversion function.

func Convert_kubeone_AWSSpec_To_v1beta1_AWSSpec

func Convert_kubeone_AWSSpec_To_v1beta1_AWSSpec(in *kubeone.AWSSpec, out *AWSSpec, s conversion.Scope) error

Convert_kubeone_AWSSpec_To_v1beta1_AWSSpec is an autogenerated conversion function.

func Convert_kubeone_Addon_To_v1beta1_Addon added in v1.3.0

func Convert_kubeone_Addon_To_v1beta1_Addon(in *kubeoneapi.Addon, out *Addon, s conversion.Scope) error

func Convert_kubeone_Addons_To_v1beta1_Addons

func Convert_kubeone_Addons_To_v1beta1_Addons(in *kubeone.Addons, out *Addons, s conversion.Scope) error

Convert_kubeone_Addons_To_v1beta1_Addons is an autogenerated conversion function.

func Convert_kubeone_AssetConfiguration_To_v1beta1_AssetConfiguration added in v1.2.0

func Convert_kubeone_AssetConfiguration_To_v1beta1_AssetConfiguration(in *kubeone.AssetConfiguration, out *AssetConfiguration, s conversion.Scope) error

Convert_kubeone_AssetConfiguration_To_v1beta1_AssetConfiguration is an autogenerated conversion function.

func Convert_kubeone_AzureSpec_To_v1beta1_AzureSpec

func Convert_kubeone_AzureSpec_To_v1beta1_AzureSpec(in *kubeone.AzureSpec, out *AzureSpec, s conversion.Scope) error

Convert_kubeone_AzureSpec_To_v1beta1_AzureSpec is an autogenerated conversion function.

func Convert_kubeone_BinaryAsset_To_v1beta1_BinaryAsset added in v1.2.0

func Convert_kubeone_BinaryAsset_To_v1beta1_BinaryAsset(in *kubeone.BinaryAsset, out *BinaryAsset, s conversion.Scope) error

Convert_kubeone_BinaryAsset_To_v1beta1_BinaryAsset is an autogenerated conversion function.

func Convert_kubeone_CNI_To_v1beta1_CNI

func Convert_kubeone_CNI_To_v1beta1_CNI(in *kubeone.CNI, out *CNI, s conversion.Scope) error

Convert_kubeone_CNI_To_v1beta1_CNI is an autogenerated conversion function.

func Convert_kubeone_CanalSpec_To_v1beta1_CanalSpec

func Convert_kubeone_CanalSpec_To_v1beta1_CanalSpec(in *kubeone.CanalSpec, out *CanalSpec, s conversion.Scope) error

Convert_kubeone_CanalSpec_To_v1beta1_CanalSpec is an autogenerated conversion function.

func Convert_kubeone_CiliumSpec_To_v1beta1_CiliumSpec added in v1.4.0

func Convert_kubeone_CiliumSpec_To_v1beta1_CiliumSpec(in *kubeone.CiliumSpec, out *CiliumSpec, s conversion.Scope) error

Convert_kubeone_CiliumSpec_To_v1beta1_CiliumSpec is an autogenerated conversion function.

func Convert_kubeone_CloudProviderSpec_To_v1beta1_CloudProviderSpec

func Convert_kubeone_CloudProviderSpec_To_v1beta1_CloudProviderSpec(in *kubeoneapi.CloudProviderSpec, out *CloudProviderSpec, s conversion.Scope) error

Convert_kubeone_CloudProviderSpec_To_v1beta1_CloudProviderSpec is an autogenerated conversion function.

func Convert_kubeone_ClusterNetworkConfig_To_v1beta1_ClusterNetworkConfig

func Convert_kubeone_ClusterNetworkConfig_To_v1beta1_ClusterNetworkConfig(in *kubeoneapi.ClusterNetworkConfig, out *ClusterNetworkConfig, s conversion.Scope) error

func Convert_kubeone_ContainerRuntimeConfig_To_v1beta1_ContainerRuntimeConfig added in v1.1.0

func Convert_kubeone_ContainerRuntimeConfig_To_v1beta1_ContainerRuntimeConfig(in *kubeone.ContainerRuntimeConfig, out *ContainerRuntimeConfig, s conversion.Scope) error

Convert_kubeone_ContainerRuntimeConfig_To_v1beta1_ContainerRuntimeConfig is an autogenerated conversion function.

func Convert_kubeone_ContainerRuntimeContainerd_To_v1beta1_ContainerRuntimeContainerd added in v1.1.0

func Convert_kubeone_ContainerRuntimeContainerd_To_v1beta1_ContainerRuntimeContainerd(*kubeoneapi.ContainerRuntimeContainerd, *ContainerRuntimeContainerd, conversion.Scope) error

func Convert_kubeone_ContainerRuntimeDocker_To_v1beta1_ContainerRuntimeDocker added in v1.1.0

func Convert_kubeone_ContainerRuntimeDocker_To_v1beta1_ContainerRuntimeDocker(*kubeoneapi.ContainerRuntimeDocker, *ContainerRuntimeDocker, conversion.Scope) error

func Convert_kubeone_ControlPlaneConfig_To_v1beta1_ControlPlaneConfig

func Convert_kubeone_ControlPlaneConfig_To_v1beta1_ControlPlaneConfig(in *kubeone.ControlPlaneConfig, out *ControlPlaneConfig, s conversion.Scope) error

Convert_kubeone_ControlPlaneConfig_To_v1beta1_ControlPlaneConfig is an autogenerated conversion function.

func Convert_kubeone_DNSConfig_To_v1beta1_DNSConfig

func Convert_kubeone_DNSConfig_To_v1beta1_DNSConfig(in *kubeone.DNSConfig, out *DNSConfig, s conversion.Scope) error

Convert_kubeone_DNSConfig_To_v1beta1_DNSConfig is an autogenerated conversion function.

func Convert_kubeone_DigitalOceanSpec_To_v1beta1_DigitalOceanSpec

func Convert_kubeone_DigitalOceanSpec_To_v1beta1_DigitalOceanSpec(in *kubeone.DigitalOceanSpec, out *DigitalOceanSpec, s conversion.Scope) error

Convert_kubeone_DigitalOceanSpec_To_v1beta1_DigitalOceanSpec is an autogenerated conversion function.

func Convert_kubeone_DynamicAuditLog_To_v1beta1_DynamicAuditLog

func Convert_kubeone_DynamicAuditLog_To_v1beta1_DynamicAuditLog(in *kubeone.DynamicAuditLog, out *DynamicAuditLog, s conversion.Scope) error

Convert_kubeone_DynamicAuditLog_To_v1beta1_DynamicAuditLog is an autogenerated conversion function.

func Convert_kubeone_DynamicWorkerConfig_To_v1beta1_DynamicWorkerConfig

func Convert_kubeone_DynamicWorkerConfig_To_v1beta1_DynamicWorkerConfig(in *kubeone.DynamicWorkerConfig, out *DynamicWorkerConfig, s conversion.Scope) error

Convert_kubeone_DynamicWorkerConfig_To_v1beta1_DynamicWorkerConfig is an autogenerated conversion function.

func Convert_kubeone_EncryptionProviders_To_v1beta1_EncryptionProviders added in v1.3.0

func Convert_kubeone_EncryptionProviders_To_v1beta1_EncryptionProviders(in *kubeone.EncryptionProviders, out *EncryptionProviders, s conversion.Scope) error

Convert_kubeone_EncryptionProviders_To_v1beta1_EncryptionProviders is an autogenerated conversion function.

func Convert_kubeone_ExternalCNISpec_To_v1beta1_ExternalCNISpec

func Convert_kubeone_ExternalCNISpec_To_v1beta1_ExternalCNISpec(in *kubeone.ExternalCNISpec, out *ExternalCNISpec, s conversion.Scope) error

Convert_kubeone_ExternalCNISpec_To_v1beta1_ExternalCNISpec is an autogenerated conversion function.

func Convert_kubeone_Features_To_v1beta1_Features

func Convert_kubeone_Features_To_v1beta1_Features(in *kubeoneapi.Features, out *Features, s conversion.Scope) error

func Convert_kubeone_GCESpec_To_v1beta1_GCESpec

func Convert_kubeone_GCESpec_To_v1beta1_GCESpec(in *kubeone.GCESpec, out *GCESpec, s conversion.Scope) error

Convert_kubeone_GCESpec_To_v1beta1_GCESpec is an autogenerated conversion function.

func Convert_kubeone_HetznerSpec_To_v1beta1_HetznerSpec

func Convert_kubeone_HetznerSpec_To_v1beta1_HetznerSpec(in *kubeone.HetznerSpec, out *HetznerSpec, s conversion.Scope) error

Convert_kubeone_HetznerSpec_To_v1beta1_HetznerSpec is an autogenerated conversion function.

func Convert_kubeone_HostConfig_To_v1beta1_HostConfig

func Convert_kubeone_HostConfig_To_v1beta1_HostConfig(in *kubeoneapi.HostConfig, out *HostConfig, scope conversion.Scope) error

func Convert_kubeone_IPTables_To_v1beta1_IPTables added in v1.3.0

func Convert_kubeone_IPTables_To_v1beta1_IPTables(in *kubeone.IPTables, out *IPTables, s conversion.Scope) error

Convert_kubeone_IPTables_To_v1beta1_IPTables is an autogenerated conversion function.

func Convert_kubeone_IPVSConfig_To_v1beta1_IPVSConfig added in v1.3.0

func Convert_kubeone_IPVSConfig_To_v1beta1_IPVSConfig(in *kubeone.IPVSConfig, out *IPVSConfig, s conversion.Scope) error

Convert_kubeone_IPVSConfig_To_v1beta1_IPVSConfig is an autogenerated conversion function.

func Convert_kubeone_ImageAsset_To_v1beta1_ImageAsset added in v1.2.0

func Convert_kubeone_ImageAsset_To_v1beta1_ImageAsset(in *kubeone.ImageAsset, out *ImageAsset, s conversion.Scope) error

Convert_kubeone_ImageAsset_To_v1beta1_ImageAsset is an autogenerated conversion function.

func Convert_kubeone_KubeOneCluster_To_v1beta1_KubeOneCluster

func Convert_kubeone_KubeOneCluster_To_v1beta1_KubeOneCluster(in *kubeoneapi.KubeOneCluster, out *KubeOneCluster, s conversion.Scope) error

func Convert_kubeone_KubeProxyConfig_To_v1beta1_KubeProxyConfig added in v1.3.0

func Convert_kubeone_KubeProxyConfig_To_v1beta1_KubeProxyConfig(in *kubeone.KubeProxyConfig, out *KubeProxyConfig, s conversion.Scope) error

Convert_kubeone_KubeProxyConfig_To_v1beta1_KubeProxyConfig is an autogenerated conversion function.

func Convert_kubeone_MachineControllerConfig_To_v1beta1_MachineControllerConfig

func Convert_kubeone_MachineControllerConfig_To_v1beta1_MachineControllerConfig(in *kubeone.MachineControllerConfig, out *MachineControllerConfig, s conversion.Scope) error

Convert_kubeone_MachineControllerConfig_To_v1beta1_MachineControllerConfig is an autogenerated conversion function.

func Convert_kubeone_MetricsServer_To_v1beta1_MetricsServer

func Convert_kubeone_MetricsServer_To_v1beta1_MetricsServer(in *kubeone.MetricsServer, out *MetricsServer, s conversion.Scope) error

Convert_kubeone_MetricsServer_To_v1beta1_MetricsServer is an autogenerated conversion function.

func Convert_kubeone_NoneSpec_To_v1beta1_NoneSpec

func Convert_kubeone_NoneSpec_To_v1beta1_NoneSpec(in *kubeone.NoneSpec, out *NoneSpec, s conversion.Scope) error

Convert_kubeone_NoneSpec_To_v1beta1_NoneSpec is an autogenerated conversion function.

func Convert_kubeone_OpenIDConnectConfig_To_v1beta1_OpenIDConnectConfig

func Convert_kubeone_OpenIDConnectConfig_To_v1beta1_OpenIDConnectConfig(in *kubeone.OpenIDConnectConfig, out *OpenIDConnectConfig, s conversion.Scope) error

Convert_kubeone_OpenIDConnectConfig_To_v1beta1_OpenIDConnectConfig is an autogenerated conversion function.

func Convert_kubeone_OpenIDConnect_To_v1beta1_OpenIDConnect

func Convert_kubeone_OpenIDConnect_To_v1beta1_OpenIDConnect(in *kubeone.OpenIDConnect, out *OpenIDConnect, s conversion.Scope) error

Convert_kubeone_OpenIDConnect_To_v1beta1_OpenIDConnect is an autogenerated conversion function.

func Convert_kubeone_OpenstackSpec_To_v1beta1_OpenstackSpec

func Convert_kubeone_OpenstackSpec_To_v1beta1_OpenstackSpec(in *kubeone.OpenstackSpec, out *OpenstackSpec, s conversion.Scope) error

Convert_kubeone_OpenstackSpec_To_v1beta1_OpenstackSpec is an autogenerated conversion function.

func Convert_kubeone_PodNodeSelectorConfig_To_v1beta1_PodNodeSelectorConfig

func Convert_kubeone_PodNodeSelectorConfig_To_v1beta1_PodNodeSelectorConfig(in *kubeone.PodNodeSelectorConfig, out *PodNodeSelectorConfig, s conversion.Scope) error

Convert_kubeone_PodNodeSelectorConfig_To_v1beta1_PodNodeSelectorConfig is an autogenerated conversion function.

func Convert_kubeone_PodNodeSelector_To_v1beta1_PodNodeSelector

func Convert_kubeone_PodNodeSelector_To_v1beta1_PodNodeSelector(in *kubeone.PodNodeSelector, out *PodNodeSelector, s conversion.Scope) error

Convert_kubeone_PodNodeSelector_To_v1beta1_PodNodeSelector is an autogenerated conversion function.

func Convert_kubeone_PodSecurityPolicy_To_v1beta1_PodSecurityPolicy

func Convert_kubeone_PodSecurityPolicy_To_v1beta1_PodSecurityPolicy(in *kubeone.PodSecurityPolicy, out *PodSecurityPolicy, s conversion.Scope) error

Convert_kubeone_PodSecurityPolicy_To_v1beta1_PodSecurityPolicy is an autogenerated conversion function.

func Convert_kubeone_ProviderSpec_To_v1beta1_ProviderSpec

func Convert_kubeone_ProviderSpec_To_v1beta1_ProviderSpec(in *kubeoneapi.ProviderSpec, out *ProviderSpec, s conversion.Scope) error

func Convert_kubeone_ProviderStaticNetworkConfig_To_v1beta1_ProviderStaticNetworkConfig

func Convert_kubeone_ProviderStaticNetworkConfig_To_v1beta1_ProviderStaticNetworkConfig(in *kubeoneapi.ProviderStaticNetworkConfig, out *ProviderStaticNetworkConfig, s conversion.Scope) error

func Convert_kubeone_ProxyConfig_To_v1beta1_ProxyConfig

func Convert_kubeone_ProxyConfig_To_v1beta1_ProxyConfig(in *kubeone.ProxyConfig, out *ProxyConfig, s conversion.Scope) error

Convert_kubeone_ProxyConfig_To_v1beta1_ProxyConfig is an autogenerated conversion function.

func Convert_kubeone_RegistryConfiguration_To_v1beta1_RegistryConfiguration added in v1.1.0

func Convert_kubeone_RegistryConfiguration_To_v1beta1_RegistryConfiguration(in *kubeone.RegistryConfiguration, out *RegistryConfiguration, s conversion.Scope) error

Convert_kubeone_RegistryConfiguration_To_v1beta1_RegistryConfiguration is an autogenerated conversion function.

func Convert_kubeone_StaticAuditLogConfig_To_v1beta1_StaticAuditLogConfig

func Convert_kubeone_StaticAuditLogConfig_To_v1beta1_StaticAuditLogConfig(in *kubeone.StaticAuditLogConfig, out *StaticAuditLogConfig, s conversion.Scope) error

Convert_kubeone_StaticAuditLogConfig_To_v1beta1_StaticAuditLogConfig is an autogenerated conversion function.

func Convert_kubeone_StaticAuditLog_To_v1beta1_StaticAuditLog

func Convert_kubeone_StaticAuditLog_To_v1beta1_StaticAuditLog(in *kubeone.StaticAuditLog, out *StaticAuditLog, s conversion.Scope) error

Convert_kubeone_StaticAuditLog_To_v1beta1_StaticAuditLog is an autogenerated conversion function.

func Convert_kubeone_StaticWorkersConfig_To_v1beta1_StaticWorkersConfig

func Convert_kubeone_StaticWorkersConfig_To_v1beta1_StaticWorkersConfig(in *kubeone.StaticWorkersConfig, out *StaticWorkersConfig, s conversion.Scope) error

Convert_kubeone_StaticWorkersConfig_To_v1beta1_StaticWorkersConfig is an autogenerated conversion function.

func Convert_kubeone_SystemPackages_To_v1beta1_SystemPackages

func Convert_kubeone_SystemPackages_To_v1beta1_SystemPackages(in *kubeone.SystemPackages, out *SystemPackages, s conversion.Scope) error

Convert_kubeone_SystemPackages_To_v1beta1_SystemPackages is an autogenerated conversion function.

func Convert_kubeone_VersionConfig_To_v1beta1_VersionConfig

func Convert_kubeone_VersionConfig_To_v1beta1_VersionConfig(in *kubeone.VersionConfig, out *VersionConfig, s conversion.Scope) error

Convert_kubeone_VersionConfig_To_v1beta1_VersionConfig is an autogenerated conversion function.

func Convert_kubeone_VsphereSpec_To_v1beta1_VsphereSpec

func Convert_kubeone_VsphereSpec_To_v1beta1_VsphereSpec(in *kubeone.VsphereSpec, out *VsphereSpec, s conversion.Scope) error

Convert_kubeone_VsphereSpec_To_v1beta1_VsphereSpec is an autogenerated conversion function.

func Convert_kubeone_WeaveNetSpec_To_v1beta1_WeaveNetSpec

func Convert_kubeone_WeaveNetSpec_To_v1beta1_WeaveNetSpec(in *kubeone.WeaveNetSpec, out *WeaveNetSpec, s conversion.Scope) error

Convert_kubeone_WeaveNetSpec_To_v1beta1_WeaveNetSpec is an autogenerated conversion function.

func Convert_v1beta1_APIEndpoint_To_kubeone_APIEndpoint

func Convert_v1beta1_APIEndpoint_To_kubeone_APIEndpoint(in *APIEndpoint, out *kubeone.APIEndpoint, s conversion.Scope) error

Convert_v1beta1_APIEndpoint_To_kubeone_APIEndpoint is an autogenerated conversion function.

func Convert_v1beta1_AWSSpec_To_kubeone_AWSSpec

func Convert_v1beta1_AWSSpec_To_kubeone_AWSSpec(in *AWSSpec, out *kubeone.AWSSpec, s conversion.Scope) error

Convert_v1beta1_AWSSpec_To_kubeone_AWSSpec is an autogenerated conversion function.

func Convert_v1beta1_Addon_To_kubeone_Addon added in v1.3.0

func Convert_v1beta1_Addon_To_kubeone_Addon(in *Addon, out *kubeone.Addon, s conversion.Scope) error

Convert_v1beta1_Addon_To_kubeone_Addon is an autogenerated conversion function.

func Convert_v1beta1_Addons_To_kubeone_Addons

func Convert_v1beta1_Addons_To_kubeone_Addons(in *Addons, out *kubeone.Addons, s conversion.Scope) error

Convert_v1beta1_Addons_To_kubeone_Addons is an autogenerated conversion function.

func Convert_v1beta1_AssetConfiguration_To_kubeone_AssetConfiguration added in v1.2.0

func Convert_v1beta1_AssetConfiguration_To_kubeone_AssetConfiguration(in *AssetConfiguration, out *kubeone.AssetConfiguration, s conversion.Scope) error

Convert_v1beta1_AssetConfiguration_To_kubeone_AssetConfiguration is an autogenerated conversion function.

func Convert_v1beta1_AzureSpec_To_kubeone_AzureSpec

func Convert_v1beta1_AzureSpec_To_kubeone_AzureSpec(in *AzureSpec, out *kubeone.AzureSpec, s conversion.Scope) error

Convert_v1beta1_AzureSpec_To_kubeone_AzureSpec is an autogenerated conversion function.

func Convert_v1beta1_BinaryAsset_To_kubeone_BinaryAsset added in v1.2.0

func Convert_v1beta1_BinaryAsset_To_kubeone_BinaryAsset(in *BinaryAsset, out *kubeone.BinaryAsset, s conversion.Scope) error

Convert_v1beta1_BinaryAsset_To_kubeone_BinaryAsset is an autogenerated conversion function.

func Convert_v1beta1_CNI_To_kubeone_CNI

func Convert_v1beta1_CNI_To_kubeone_CNI(in *CNI, out *kubeone.CNI, s conversion.Scope) error

Convert_v1beta1_CNI_To_kubeone_CNI is an autogenerated conversion function.

func Convert_v1beta1_CanalSpec_To_kubeone_CanalSpec

func Convert_v1beta1_CanalSpec_To_kubeone_CanalSpec(in *CanalSpec, out *kubeone.CanalSpec, s conversion.Scope) error

Convert_v1beta1_CanalSpec_To_kubeone_CanalSpec is an autogenerated conversion function.

func Convert_v1beta1_CiliumSpec_To_kubeone_CiliumSpec added in v1.4.0

func Convert_v1beta1_CiliumSpec_To_kubeone_CiliumSpec(in *CiliumSpec, out *kubeone.CiliumSpec, s conversion.Scope) error

Convert_v1beta1_CiliumSpec_To_kubeone_CiliumSpec is an autogenerated conversion function.

func Convert_v1beta1_CloudProviderSpec_To_kubeone_CloudProviderSpec

func Convert_v1beta1_CloudProviderSpec_To_kubeone_CloudProviderSpec(in *CloudProviderSpec, out *kubeoneapi.CloudProviderSpec, s conversion.Scope) error

Convert_v1beta1_CloudProviderSpec_To_kubeone_CloudProviderSpec is an autogenerated conversion function.

func Convert_v1beta1_ClusterNetworkConfig_To_kubeone_ClusterNetworkConfig

func Convert_v1beta1_ClusterNetworkConfig_To_kubeone_ClusterNetworkConfig(in *ClusterNetworkConfig, out *kubeone.ClusterNetworkConfig, s conversion.Scope) error

Convert_v1beta1_ClusterNetworkConfig_To_kubeone_ClusterNetworkConfig is an autogenerated conversion function.

func Convert_v1beta1_ContainerRuntimeConfig_To_kubeone_ContainerRuntimeConfig added in v1.1.0

func Convert_v1beta1_ContainerRuntimeConfig_To_kubeone_ContainerRuntimeConfig(in *ContainerRuntimeConfig, out *kubeone.ContainerRuntimeConfig, s conversion.Scope) error

Convert_v1beta1_ContainerRuntimeConfig_To_kubeone_ContainerRuntimeConfig is an autogenerated conversion function.

func Convert_v1beta1_ContainerRuntimeContainerd_To_kubeone_ContainerRuntimeContainerd added in v1.1.0

func Convert_v1beta1_ContainerRuntimeContainerd_To_kubeone_ContainerRuntimeContainerd(in *ContainerRuntimeContainerd, out *kubeone.ContainerRuntimeContainerd, s conversion.Scope) error

Convert_v1beta1_ContainerRuntimeContainerd_To_kubeone_ContainerRuntimeContainerd is an autogenerated conversion function.

func Convert_v1beta1_ContainerRuntimeDocker_To_kubeone_ContainerRuntimeDocker added in v1.1.0

func Convert_v1beta1_ContainerRuntimeDocker_To_kubeone_ContainerRuntimeDocker(in *ContainerRuntimeDocker, out *kubeone.ContainerRuntimeDocker, s conversion.Scope) error

Convert_v1beta1_ContainerRuntimeDocker_To_kubeone_ContainerRuntimeDocker is an autogenerated conversion function.

func Convert_v1beta1_ControlPlaneConfig_To_kubeone_ControlPlaneConfig

func Convert_v1beta1_ControlPlaneConfig_To_kubeone_ControlPlaneConfig(in *ControlPlaneConfig, out *kubeone.ControlPlaneConfig, s conversion.Scope) error

Convert_v1beta1_ControlPlaneConfig_To_kubeone_ControlPlaneConfig is an autogenerated conversion function.

func Convert_v1beta1_DNSConfig_To_kubeone_DNSConfig

func Convert_v1beta1_DNSConfig_To_kubeone_DNSConfig(in *DNSConfig, out *kubeone.DNSConfig, s conversion.Scope) error

Convert_v1beta1_DNSConfig_To_kubeone_DNSConfig is an autogenerated conversion function.

func Convert_v1beta1_DigitalOceanSpec_To_kubeone_DigitalOceanSpec

func Convert_v1beta1_DigitalOceanSpec_To_kubeone_DigitalOceanSpec(in *DigitalOceanSpec, out *kubeone.DigitalOceanSpec, s conversion.Scope) error

Convert_v1beta1_DigitalOceanSpec_To_kubeone_DigitalOceanSpec is an autogenerated conversion function.

func Convert_v1beta1_DynamicAuditLog_To_kubeone_DynamicAuditLog

func Convert_v1beta1_DynamicAuditLog_To_kubeone_DynamicAuditLog(in *DynamicAuditLog, out *kubeone.DynamicAuditLog, s conversion.Scope) error

Convert_v1beta1_DynamicAuditLog_To_kubeone_DynamicAuditLog is an autogenerated conversion function.

func Convert_v1beta1_DynamicWorkerConfig_To_kubeone_DynamicWorkerConfig

func Convert_v1beta1_DynamicWorkerConfig_To_kubeone_DynamicWorkerConfig(in *DynamicWorkerConfig, out *kubeone.DynamicWorkerConfig, s conversion.Scope) error

Convert_v1beta1_DynamicWorkerConfig_To_kubeone_DynamicWorkerConfig is an autogenerated conversion function.

func Convert_v1beta1_EncryptionProviders_To_kubeone_EncryptionProviders added in v1.3.0

func Convert_v1beta1_EncryptionProviders_To_kubeone_EncryptionProviders(in *EncryptionProviders, out *kubeone.EncryptionProviders, s conversion.Scope) error

Convert_v1beta1_EncryptionProviders_To_kubeone_EncryptionProviders is an autogenerated conversion function.

func Convert_v1beta1_ExternalCNISpec_To_kubeone_ExternalCNISpec

func Convert_v1beta1_ExternalCNISpec_To_kubeone_ExternalCNISpec(in *ExternalCNISpec, out *kubeone.ExternalCNISpec, s conversion.Scope) error

Convert_v1beta1_ExternalCNISpec_To_kubeone_ExternalCNISpec is an autogenerated conversion function.

func Convert_v1beta1_Features_To_kubeone_Features

func Convert_v1beta1_Features_To_kubeone_Features(in *Features, out *kubeoneapi.Features, s conversion.Scope) error

Convert_v1beta1_Features_To_kubeone_Features is an autogenerated conversion function.

func Convert_v1beta1_GCESpec_To_kubeone_GCESpec

func Convert_v1beta1_GCESpec_To_kubeone_GCESpec(in *GCESpec, out *kubeone.GCESpec, s conversion.Scope) error

Convert_v1beta1_GCESpec_To_kubeone_GCESpec is an autogenerated conversion function.

func Convert_v1beta1_HetznerSpec_To_kubeone_HetznerSpec

func Convert_v1beta1_HetznerSpec_To_kubeone_HetznerSpec(in *HetznerSpec, out *kubeone.HetznerSpec, s conversion.Scope) error

Convert_v1beta1_HetznerSpec_To_kubeone_HetznerSpec is an autogenerated conversion function.

func Convert_v1beta1_HostConfig_To_kubeone_HostConfig

func Convert_v1beta1_HostConfig_To_kubeone_HostConfig(in *HostConfig, out *kubeone.HostConfig, s conversion.Scope) error

Convert_v1beta1_HostConfig_To_kubeone_HostConfig is an autogenerated conversion function.

func Convert_v1beta1_IPTables_To_kubeone_IPTables added in v1.3.0

func Convert_v1beta1_IPTables_To_kubeone_IPTables(in *IPTables, out *kubeone.IPTables, s conversion.Scope) error

Convert_v1beta1_IPTables_To_kubeone_IPTables is an autogenerated conversion function.

func Convert_v1beta1_IPVSConfig_To_kubeone_IPVSConfig added in v1.3.0

func Convert_v1beta1_IPVSConfig_To_kubeone_IPVSConfig(in *IPVSConfig, out *kubeone.IPVSConfig, s conversion.Scope) error

Convert_v1beta1_IPVSConfig_To_kubeone_IPVSConfig is an autogenerated conversion function.

func Convert_v1beta1_ImageAsset_To_kubeone_ImageAsset added in v1.2.0

func Convert_v1beta1_ImageAsset_To_kubeone_ImageAsset(in *ImageAsset, out *kubeone.ImageAsset, s conversion.Scope) error

Convert_v1beta1_ImageAsset_To_kubeone_ImageAsset is an autogenerated conversion function.

func Convert_v1beta1_KubeOneCluster_To_kubeone_KubeOneCluster

func Convert_v1beta1_KubeOneCluster_To_kubeone_KubeOneCluster(in *KubeOneCluster, out *kubeone.KubeOneCluster, s conversion.Scope) error

Convert_v1beta1_KubeOneCluster_To_kubeone_KubeOneCluster is an autogenerated conversion function.

func Convert_v1beta1_KubeProxyConfig_To_kubeone_KubeProxyConfig added in v1.3.0

func Convert_v1beta1_KubeProxyConfig_To_kubeone_KubeProxyConfig(in *KubeProxyConfig, out *kubeone.KubeProxyConfig, s conversion.Scope) error

Convert_v1beta1_KubeProxyConfig_To_kubeone_KubeProxyConfig is an autogenerated conversion function.

func Convert_v1beta1_MachineControllerConfig_To_kubeone_MachineControllerConfig

func Convert_v1beta1_MachineControllerConfig_To_kubeone_MachineControllerConfig(in *MachineControllerConfig, out *kubeone.MachineControllerConfig, s conversion.Scope) error

Convert_v1beta1_MachineControllerConfig_To_kubeone_MachineControllerConfig is an autogenerated conversion function.

func Convert_v1beta1_MetricsServer_To_kubeone_MetricsServer

func Convert_v1beta1_MetricsServer_To_kubeone_MetricsServer(in *MetricsServer, out *kubeone.MetricsServer, s conversion.Scope) error

Convert_v1beta1_MetricsServer_To_kubeone_MetricsServer is an autogenerated conversion function.

func Convert_v1beta1_NoneSpec_To_kubeone_NoneSpec

func Convert_v1beta1_NoneSpec_To_kubeone_NoneSpec(in *NoneSpec, out *kubeone.NoneSpec, s conversion.Scope) error

Convert_v1beta1_NoneSpec_To_kubeone_NoneSpec is an autogenerated conversion function.

func Convert_v1beta1_OpenIDConnectConfig_To_kubeone_OpenIDConnectConfig

func Convert_v1beta1_OpenIDConnectConfig_To_kubeone_OpenIDConnectConfig(in *OpenIDConnectConfig, out *kubeone.OpenIDConnectConfig, s conversion.Scope) error

Convert_v1beta1_OpenIDConnectConfig_To_kubeone_OpenIDConnectConfig is an autogenerated conversion function.

func Convert_v1beta1_OpenIDConnect_To_kubeone_OpenIDConnect

func Convert_v1beta1_OpenIDConnect_To_kubeone_OpenIDConnect(in *OpenIDConnect, out *kubeone.OpenIDConnect, s conversion.Scope) error

Convert_v1beta1_OpenIDConnect_To_kubeone_OpenIDConnect is an autogenerated conversion function.

func Convert_v1beta1_OpenstackSpec_To_kubeone_OpenstackSpec

func Convert_v1beta1_OpenstackSpec_To_kubeone_OpenstackSpec(in *OpenstackSpec, out *kubeone.OpenstackSpec, s conversion.Scope) error

Convert_v1beta1_OpenstackSpec_To_kubeone_OpenstackSpec is an autogenerated conversion function.

func Convert_v1beta1_PodNodeSelectorConfig_To_kubeone_PodNodeSelectorConfig

func Convert_v1beta1_PodNodeSelectorConfig_To_kubeone_PodNodeSelectorConfig(in *PodNodeSelectorConfig, out *kubeone.PodNodeSelectorConfig, s conversion.Scope) error

Convert_v1beta1_PodNodeSelectorConfig_To_kubeone_PodNodeSelectorConfig is an autogenerated conversion function.

func Convert_v1beta1_PodNodeSelector_To_kubeone_PodNodeSelector

func Convert_v1beta1_PodNodeSelector_To_kubeone_PodNodeSelector(in *PodNodeSelector, out *kubeone.PodNodeSelector, s conversion.Scope) error

Convert_v1beta1_PodNodeSelector_To_kubeone_PodNodeSelector is an autogenerated conversion function.

func Convert_v1beta1_PodSecurityPolicy_To_kubeone_PodSecurityPolicy

func Convert_v1beta1_PodSecurityPolicy_To_kubeone_PodSecurityPolicy(in *PodSecurityPolicy, out *kubeone.PodSecurityPolicy, s conversion.Scope) error

Convert_v1beta1_PodSecurityPolicy_To_kubeone_PodSecurityPolicy is an autogenerated conversion function.

func Convert_v1beta1_ProviderSpec_To_kubeone_ProviderSpec

func Convert_v1beta1_ProviderSpec_To_kubeone_ProviderSpec(in *ProviderSpec, out *kubeone.ProviderSpec, s conversion.Scope) error

Convert_v1beta1_ProviderSpec_To_kubeone_ProviderSpec is an autogenerated conversion function.

func Convert_v1beta1_ProviderStaticNetworkConfig_To_kubeone_ProviderStaticNetworkConfig

func Convert_v1beta1_ProviderStaticNetworkConfig_To_kubeone_ProviderStaticNetworkConfig(in *ProviderStaticNetworkConfig, out *kubeone.ProviderStaticNetworkConfig, s conversion.Scope) error

Convert_v1beta1_ProviderStaticNetworkConfig_To_kubeone_ProviderStaticNetworkConfig is an autogenerated conversion function.

func Convert_v1beta1_ProxyConfig_To_kubeone_ProxyConfig

func Convert_v1beta1_ProxyConfig_To_kubeone_ProxyConfig(in *ProxyConfig, out *kubeone.ProxyConfig, s conversion.Scope) error

Convert_v1beta1_ProxyConfig_To_kubeone_ProxyConfig is an autogenerated conversion function.

func Convert_v1beta1_RegistryConfiguration_To_kubeone_RegistryConfiguration added in v1.1.0

func Convert_v1beta1_RegistryConfiguration_To_kubeone_RegistryConfiguration(in *RegistryConfiguration, out *kubeone.RegistryConfiguration, s conversion.Scope) error

Convert_v1beta1_RegistryConfiguration_To_kubeone_RegistryConfiguration is an autogenerated conversion function.

func Convert_v1beta1_StaticAuditLogConfig_To_kubeone_StaticAuditLogConfig

func Convert_v1beta1_StaticAuditLogConfig_To_kubeone_StaticAuditLogConfig(in *StaticAuditLogConfig, out *kubeone.StaticAuditLogConfig, s conversion.Scope) error

Convert_v1beta1_StaticAuditLogConfig_To_kubeone_StaticAuditLogConfig is an autogenerated conversion function.

func Convert_v1beta1_StaticAuditLog_To_kubeone_StaticAuditLog

func Convert_v1beta1_StaticAuditLog_To_kubeone_StaticAuditLog(in *StaticAuditLog, out *kubeone.StaticAuditLog, s conversion.Scope) error

Convert_v1beta1_StaticAuditLog_To_kubeone_StaticAuditLog is an autogenerated conversion function.

func Convert_v1beta1_StaticWorkersConfig_To_kubeone_StaticWorkersConfig

func Convert_v1beta1_StaticWorkersConfig_To_kubeone_StaticWorkersConfig(in *StaticWorkersConfig, out *kubeone.StaticWorkersConfig, s conversion.Scope) error

Convert_v1beta1_StaticWorkersConfig_To_kubeone_StaticWorkersConfig is an autogenerated conversion function.

func Convert_v1beta1_SystemPackages_To_kubeone_SystemPackages

func Convert_v1beta1_SystemPackages_To_kubeone_SystemPackages(in *SystemPackages, out *kubeone.SystemPackages, s conversion.Scope) error

Convert_v1beta1_SystemPackages_To_kubeone_SystemPackages is an autogenerated conversion function.

func Convert_v1beta1_VersionConfig_To_kubeone_VersionConfig

func Convert_v1beta1_VersionConfig_To_kubeone_VersionConfig(in *VersionConfig, out *kubeone.VersionConfig, s conversion.Scope) error

Convert_v1beta1_VersionConfig_To_kubeone_VersionConfig is an autogenerated conversion function.

func Convert_v1beta1_VsphereSpec_To_kubeone_VsphereSpec

func Convert_v1beta1_VsphereSpec_To_kubeone_VsphereSpec(in *VsphereSpec, out *kubeone.VsphereSpec, s conversion.Scope) error

Convert_v1beta1_VsphereSpec_To_kubeone_VsphereSpec is an autogenerated conversion function.

func Convert_v1beta1_WeaveNetSpec_To_kubeone_WeaveNetSpec

func Convert_v1beta1_WeaveNetSpec_To_kubeone_WeaveNetSpec(in *WeaveNetSpec, out *kubeone.WeaveNetSpec, s conversion.Scope) error

Convert_v1beta1_WeaveNetSpec_To_kubeone_WeaveNetSpec is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns GroupKind

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns GroupResource

func SetCloudProvider

func SetCloudProvider(cp *CloudProviderSpec, name string) error

SetCloudProvider parses the string representation of the provider name and sets the appropriate CloudProviderSpec field.

func SetDefaults_APIEndpoints

func SetDefaults_APIEndpoints(obj *KubeOneCluster)

func SetDefaults_Addons

func SetDefaults_Addons(obj *KubeOneCluster)

func SetDefaults_ClusterNetwork

func SetDefaults_ClusterNetwork(obj *KubeOneCluster)

func SetDefaults_ContainerRuntime added in v1.1.0

func SetDefaults_ContainerRuntime(obj *KubeOneCluster)

func SetDefaults_Features

func SetDefaults_Features(obj *KubeOneCluster)

func SetDefaults_Hosts

func SetDefaults_Hosts(obj *KubeOneCluster)

func SetDefaults_KubeOneCluster

func SetDefaults_KubeOneCluster(obj *KubeOneCluster)

func SetDefaults_MachineController

func SetDefaults_MachineController(obj *KubeOneCluster)

func SetDefaults_Proxy

func SetDefaults_Proxy(obj *KubeOneCluster)

func SetDefaults_SystemPackages

func SetDefaults_SystemPackages(obj *KubeOneCluster)

func SetDefaults_Versions

func SetDefaults_Versions(obj *KubeOneCluster)

func SetObjectDefaults_KubeOneCluster

func SetObjectDefaults_KubeOneCluster(in *KubeOneCluster)

Types

type APIEndpoint

type APIEndpoint struct {
	// Host is the hostname or IP on which API is running.
	Host string `json:"host"`
	// Port is the port used to reach to the API.
	// Default value is 6443.
	Port int `json:"port,omitempty"`
	// AlternativeNames is a list of Subject Alternative Names for the API Server signing cert.
	AlternativeNames []string `json:"alternativeNames,omitempty"`
}

APIEndpoint is the endpoint used to communicate with the Kubernetes API

func (*APIEndpoint) DeepCopy

func (in *APIEndpoint) DeepCopy() *APIEndpoint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIEndpoint.

func (*APIEndpoint) DeepCopyInto

func (in *APIEndpoint) DeepCopyInto(out *APIEndpoint)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSSpec

type AWSSpec struct{}

AWSSpec defines the AWS cloud provider

func (*AWSSpec) DeepCopy

func (in *AWSSpec) DeepCopy() *AWSSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSSpec.

func (*AWSSpec) DeepCopyInto

func (in *AWSSpec) DeepCopyInto(out *AWSSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Addon added in v1.3.0

type Addon struct {
	// Name of the addon to configure
	Name string `json:"name"`

	// Params to the addon, to render the addon using text/template, this will override globalParams
	Params map[string]string `json:"params,omitempty"`

	// Delete flag to ensure the named addon with all its contents to be deleted
	Delete bool `json:"delete,omitempty"`
}

Addon config

func (*Addon) DeepCopy added in v1.3.0

func (in *Addon) DeepCopy() *Addon

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addon.

func (*Addon) DeepCopyInto added in v1.3.0

func (in *Addon) DeepCopyInto(out *Addon)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Addons

type Addons struct {
	// Enable
	Enable bool `json:"enable,omitempty"`

	// Path on the local file system to the directory with addons manifests.
	Path string `json:"path,omitempty"`

	// GlobalParams to the addon, to render all addons using text/template
	GlobalParams map[string]string `json:"globalParams,omitempty"`

	// Addons is a list of config options for named addon
	Addons []Addon `json:"addons,omitempty"`
}

Addons config

func (*Addons) DeepCopy

func (in *Addons) DeepCopy() *Addons

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addons.

func (*Addons) DeepCopyInto

func (in *Addons) DeepCopyInto(out *Addons)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AssetConfiguration added in v1.2.0

type AssetConfiguration struct {
	// Kubernetes configures the image registry and repository for the core Kubernetes
	// images (kube-apiserver, kube-controller-manager, kube-scheduler, and kube-proxy).
	// Kubernetes respects only ImageRepository (ImageTag is ignored).
	// Default image repository and tag: defaulted dynamically by Kubeadm.
	// Defaults to RegistryConfiguration.OverwriteRegistry if left empty
	// and RegistryConfiguration.OverwriteRegistry is specified.
	Kubernetes ImageAsset `json:"kubernetes,omitempty"`
	// Pause configures the sandbox (pause) image to be used by Kubelet.
	// Default image repository and tag: defaulted dynamically by Kubeadm.
	// Defaults to RegistryConfiguration.OverwriteRegistry if left empty
	// and RegistryConfiguration.OverwriteRegistry is specified.
	Pause ImageAsset `json:"pause,omitempty"`
	// CoreDNS configures the image registry and tag to be used for deploying
	// the CoreDNS component.
	// Default image repository and tag: defaulted dynamically by Kubeadm.
	// Defaults to RegistryConfiguration.OverwriteRegistry if left empty
	// and RegistryConfiguration.OverwriteRegistry is specified.
	CoreDNS ImageAsset `json:"coreDNS,omitempty"`
	// Etcd configures the image registry and tag to be used for deploying
	// the Etcd component.
	// Default image repository and tag: defaulted dynamically by Kubeadm.
	// Defaults to RegistryConfiguration.OverwriteRegistry if left empty
	// and RegistryConfiguration.OverwriteRegistry is specified.
	Etcd ImageAsset `json:"etcd,omitempty"`
	// MetricsServer configures the image registry and tag to be used for deploying
	// the metrics-server component.
	// Default image repository and tag: defaulted dynamically by KubeOne.
	// Defaults to RegistryConfiguration.OverwriteRegistry if left empty
	// and RegistryConfiguration.OverwriteRegistry is specified.
	MetricsServer ImageAsset `json:"metricsServer,omitempty"`
	// CNI configures the source for downloading the CNI binaries.
	// If not specified, kubernetes-cni package will be installed.
	// Default: none
	CNI BinaryAsset `json:"cni,omitempty"`
	// NodeBinaries configures the source for downloading the
	// Kubernetes Node Binaries tarball (e.g. kubernetes-node-linux-amd64.tar.gz).
	// The tarball must have .tar.gz as the extension and must contain the
	// following files:
	// - kubernetes/node/bin/kubelet
	// - kubernetes/node/bin/kubeadm
	// If not specified, kubelet and kubeadm packages will be installed.
	// Default: none
	NodeBinaries BinaryAsset `json:"nodeBinaries,omitempty"`
	// Kubectl configures the source for downloading the Kubectl binary.
	// If not specified, kubelet package will be installed.
	// Default: none
	Kubectl BinaryAsset `json:"kubectl,omitempty"`
}

AssetConfiguration controls how assets (e.g. CNI, Kubelet, kube-apiserver, and more) are pulled. The AssetConfiguration API is a deprecated API removed in the v1beta2 API. The AssetConfiguration API will be completely removed in KubeOne 1.6+ Currently, configuring BinaryAssets works only on Amazon Linux 2.

func (*AssetConfiguration) DeepCopy added in v1.2.0

func (in *AssetConfiguration) DeepCopy() *AssetConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssetConfiguration.

func (*AssetConfiguration) DeepCopyInto added in v1.2.0

func (in *AssetConfiguration) DeepCopyInto(out *AssetConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureSpec

type AzureSpec struct{}

AzureSpec defines the Azure cloud provider

func (*AzureSpec) DeepCopy

func (in *AzureSpec) DeepCopy() *AzureSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureSpec.

func (*AzureSpec) DeepCopyInto

func (in *AzureSpec) DeepCopyInto(out *AzureSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BinaryAsset added in v1.2.0

type BinaryAsset struct {
	// URL from where to download the binary
	URL string `json:"url,omitempty"`
}

BinaryAsset is used to customize the URL of the binary asset

func (*BinaryAsset) DeepCopy added in v1.2.0

func (in *BinaryAsset) DeepCopy() *BinaryAsset

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BinaryAsset.

func (*BinaryAsset) DeepCopyInto added in v1.2.0

func (in *BinaryAsset) DeepCopyInto(out *BinaryAsset)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CNI

type CNI struct {
	// Canal
	Canal *CanalSpec `json:"canal,omitempty"`
	// Cilium
	Cilium *CiliumSpec `json:"cilium,omitempty"`
	// WeaveNet
	WeaveNet *WeaveNetSpec `json:"weaveNet,omitempty"`
	// External
	External *ExternalCNISpec `json:"external,omitempty"`
}

CNI config. Only one CNI provider must be used at the single time.

func (*CNI) DeepCopy

func (in *CNI) DeepCopy() *CNI

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNI.

func (*CNI) DeepCopyInto

func (in *CNI) DeepCopyInto(out *CNI)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CanalSpec

type CanalSpec struct {
	// MTU automatically detected based on the cloudProvider
	// default value is 1450
	MTU int `json:"mtu,omitempty"`
}

CanalSpec defines the Canal CNI plugin

func (*CanalSpec) DeepCopy

func (in *CanalSpec) DeepCopy() *CanalSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanalSpec.

func (*CanalSpec) DeepCopyInto

func (in *CanalSpec) DeepCopyInto(out *CanalSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CiliumSpec added in v1.4.0

type CiliumSpec struct {
	// KubeProxyReplacement defines weather cilium relies on underlying Kernel support
	// to replace kube-proxy functionality by eBPF (strict), or disables a subset of those
	// features so cilium does not bail out if the kernel support is missing (disabled).
	// default is "disabled"
	KubeProxyReplacement KubeProxyReplacementType `json:"kubeProxyReplacement"`

	// EnableHubble to deploy Hubble relay and UI
	// default value is false
	EnableHubble bool `json:"enableHubble"`
}

CiliumSpec defines the Cilium CNI plugin

func (*CiliumSpec) DeepCopy added in v1.4.0

func (in *CiliumSpec) DeepCopy() *CiliumSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumSpec.

func (*CiliumSpec) DeepCopyInto added in v1.4.0

func (in *CiliumSpec) DeepCopyInto(out *CiliumSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CloudProviderSpec

type CloudProviderSpec struct {
	// External
	External bool `json:"external,omitempty"`
	// CloudConfig
	CloudConfig string `json:"cloudConfig,omitempty"`
	// CSIConfig
	CSIConfig string `json:"csiConfig,omitempty"`
	// AWS
	AWS *AWSSpec `json:"aws,omitempty"`
	// Azure
	Azure *AzureSpec `json:"azure,omitempty"`
	// DigitalOcean
	DigitalOcean *DigitalOceanSpec `json:"digitalocean,omitempty"`
	// GCE
	GCE *GCESpec `json:"gce,omitempty"`
	// Hetzner
	Hetzner *HetznerSpec `json:"hetzner,omitempty"`
	// Openstack
	Openstack *OpenstackSpec `json:"openstack,omitempty"`
	// Packet
	Packet *PacketSpec `json:"packet,omitempty"`
	// Vsphere
	Vsphere *VsphereSpec `json:"vsphere,omitempty"`
	// None
	None *NoneSpec `json:"none,omitempty"`
}

CloudProviderSpec describes the cloud provider that is running the machines. Only one cloud provider must be defined at the single time.

func (*CloudProviderSpec) DeepCopy

func (in *CloudProviderSpec) DeepCopy() *CloudProviderSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudProviderSpec.

func (*CloudProviderSpec) DeepCopyInto

func (in *CloudProviderSpec) DeepCopyInto(out *CloudProviderSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterNetworkConfig

type ClusterNetworkConfig struct {
	// PodSubnet
	// default value is "10.244.0.0/16"
	PodSubnet string `json:"podSubnet,omitempty"`
	// ServiceSubnet
	// default value is "10.96.0.0/12"
	ServiceSubnet string `json:"serviceSubnet,omitempty"`
	// ServiceDomainName
	// default value is "cluster.local"
	ServiceDomainName string `json:"serviceDomainName,omitempty"`
	// NodePortRange
	// default value is "30000-32767"
	NodePortRange string `json:"nodePortRange,omitempty"`
	// CNI
	// default value is {canal: {mtu: 1450}}
	CNI *CNI `json:"cni,omitempty"`
	// KubeProxy config
	KubeProxy *KubeProxyConfig `json:"kubeProxy,omitempty"`
}

ClusterNetworkConfig describes the cluster network

func (*ClusterNetworkConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetworkConfig.

func (*ClusterNetworkConfig) DeepCopyInto

func (in *ClusterNetworkConfig) DeepCopyInto(out *ClusterNetworkConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContainerRuntimeConfig added in v1.1.0

type ContainerRuntimeConfig struct {
	Docker     *ContainerRuntimeDocker     `json:"docker,omitempty"`
	Containerd *ContainerRuntimeContainerd `json:"containerd,omitempty"`
}

ContainerRuntimeConfig

func (*ContainerRuntimeConfig) DeepCopy added in v1.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerRuntimeConfig.

func (*ContainerRuntimeConfig) DeepCopyInto added in v1.1.0

func (in *ContainerRuntimeConfig) DeepCopyInto(out *ContainerRuntimeConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContainerRuntimeContainerd added in v1.1.0

type ContainerRuntimeContainerd struct{}

ContainerRuntimeContainerd defines docker container runtime

func (*ContainerRuntimeContainerd) DeepCopy added in v1.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerRuntimeContainerd.

func (*ContainerRuntimeContainerd) DeepCopyInto added in v1.1.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContainerRuntimeDocker added in v1.1.0

type ContainerRuntimeDocker struct{}

ContainerRuntimeDocker defines docker container runtime

func (*ContainerRuntimeDocker) DeepCopy added in v1.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerRuntimeDocker.

func (*ContainerRuntimeDocker) DeepCopyInto added in v1.1.0

func (in *ContainerRuntimeDocker) DeepCopyInto(out *ContainerRuntimeDocker)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ControlPlaneConfig

type ControlPlaneConfig struct {
	// Hosts array of all control plane hosts.
	Hosts []HostConfig `json:"hosts"`
}

ControlPlaneConfig defines control plane nodes

func (*ControlPlaneConfig) DeepCopy

func (in *ControlPlaneConfig) DeepCopy() *ControlPlaneConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneConfig.

func (*ControlPlaneConfig) DeepCopyInto

func (in *ControlPlaneConfig) DeepCopyInto(out *ControlPlaneConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DNSConfig

type DNSConfig struct {
	// Servers
	Servers []string `json:"servers"`
}

DNSConfig contains a machine's DNS configuration

func (*DNSConfig) DeepCopy

func (in *DNSConfig) DeepCopy() *DNSConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSConfig.

func (*DNSConfig) DeepCopyInto

func (in *DNSConfig) DeepCopyInto(out *DNSConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DigitalOceanSpec

type DigitalOceanSpec struct{}

DigitalOceanSpec defines the DigitalOcean cloud provider

func (*DigitalOceanSpec) DeepCopy

func (in *DigitalOceanSpec) DeepCopy() *DigitalOceanSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DigitalOceanSpec.

func (*DigitalOceanSpec) DeepCopyInto

func (in *DigitalOceanSpec) DeepCopyInto(out *DigitalOceanSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DynamicAuditLog

type DynamicAuditLog struct {
	// Enable
	// Default value is false.
	Enable bool `json:"enable,omitempty"`
}

DynamicAuditLog feature flag

func (*DynamicAuditLog) DeepCopy

func (in *DynamicAuditLog) DeepCopy() *DynamicAuditLog

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicAuditLog.

func (*DynamicAuditLog) DeepCopyInto

func (in *DynamicAuditLog) DeepCopyInto(out *DynamicAuditLog)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DynamicWorkerConfig

type DynamicWorkerConfig struct {
	// Name
	Name string `json:"name"`
	// Replicas
	Replicas *int `json:"replicas"`
	// Config
	Config ProviderSpec `json:"providerSpec"`
}

DynamicWorkerConfig describes a set of worker machines

func (*DynamicWorkerConfig) DeepCopy

func (in *DynamicWorkerConfig) DeepCopy() *DynamicWorkerConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicWorkerConfig.

func (*DynamicWorkerConfig) DeepCopyInto

func (in *DynamicWorkerConfig) DeepCopyInto(out *DynamicWorkerConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EncryptionProviders added in v1.3.0

type EncryptionProviders struct {
	// Enable
	Enable bool `json:"enable"`
	// CustomEncryptionConfiguration
	CustomEncryptionConfiguration string `json:"customEncryptionConfiguration"`
}

Encryption Providers feature flag

func (*EncryptionProviders) DeepCopy added in v1.3.0

func (in *EncryptionProviders) DeepCopy() *EncryptionProviders

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionProviders.

func (*EncryptionProviders) DeepCopyInto added in v1.3.0

func (in *EncryptionProviders) DeepCopyInto(out *EncryptionProviders)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExternalCNISpec

type ExternalCNISpec struct{}

ExternalCNISpec defines the external CNI plugin. It's up to the user's responsibility to deploy the external CNI plugin manually or as an addon

func (*ExternalCNISpec) DeepCopy

func (in *ExternalCNISpec) DeepCopy() *ExternalCNISpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalCNISpec.

func (*ExternalCNISpec) DeepCopyInto

func (in *ExternalCNISpec) DeepCopyInto(out *ExternalCNISpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Features

type Features struct {
	// PodNodeSelector
	PodNodeSelector *PodNodeSelector `json:"podNodeSelector,omitempty"`
	// PodPresets
	// Obsolete: this feature has been removed from KubeOne and specifying it will have no effect
	PodPresets *PodPresets `json:"podPresets,omitempty"`
	// PodSecurityPolicy
	// Deprecated: will be removed once Kubernetes 1.24 reaches EOL
	PodSecurityPolicy *PodSecurityPolicy `json:"podSecurityPolicy,omitempty"`
	// StaticAuditLog
	StaticAuditLog *StaticAuditLog `json:"staticAuditLog,omitempty"`
	// DynamicAuditLog
	DynamicAuditLog *DynamicAuditLog `json:"dynamicAuditLog,omitempty"`
	// MetricsServer
	MetricsServer *MetricsServer `json:"metricsServer,omitempty"`
	// OpenIDConnect
	OpenIDConnect *OpenIDConnect `json:"openidConnect,omitempty"`
	// Encryption Providers
	EncryptionProviders *EncryptionProviders `json:"encryptionProviders,omitempty"`
}

Features controls what features will be enabled on the cluster

func (*Features) DeepCopy

func (in *Features) DeepCopy() *Features

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Features.

func (*Features) DeepCopyInto

func (in *Features) DeepCopyInto(out *Features)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCESpec

type GCESpec struct{}

GCESpec defines the GCE cloud provider

func (*GCESpec) DeepCopy

func (in *GCESpec) DeepCopy() *GCESpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCESpec.

func (*GCESpec) DeepCopyInto

func (in *GCESpec) DeepCopyInto(out *GCESpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HetznerSpec

type HetznerSpec struct {
	// NetworkID
	NetworkID string `json:"networkID,omitempty"`
}

HetznerSpec defines the Hetzner cloud provider

func (*HetznerSpec) DeepCopy

func (in *HetznerSpec) DeepCopy() *HetznerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HetznerSpec.

func (*HetznerSpec) DeepCopyInto

func (in *HetznerSpec) DeepCopyInto(out *HetznerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HostConfig

type HostConfig struct {
	// ID automatically assigned at runtime.
	ID int `json:"-"`
	// PublicAddress is externally accessible IP address from public internet.
	PublicAddress string `json:"publicAddress"`
	// PrivateAddress is internal RFC-1918 IP address.
	PrivateAddress string `json:"privateAddress"`
	// SSHPort is port to connect ssh to.
	// Default value is 22.
	SSHPort int `json:"sshPort,omitempty"`
	// SSHUsername is system login name.
	// Default value is "root".
	SSHUsername string `json:"sshUsername,omitempty"`
	// SSHPrivateKeyFile is path to the file with PRIVATE AND CLEANTEXT ssh key.
	// Default value is "".
	SSHPrivateKeyFile string `json:"sshPrivateKeyFile,omitempty"`
	// SSHAgentSocket path (or reference to the environment) to the SSH agent unix domain socket.
	// Default value is "env:SSH_AUTH_SOCK".
	SSHAgentSocket string `json:"sshAgentSocket,omitempty"`
	// Bastion is an IP or hostname of the bastion (or jump) host to connect to.
	// Default value is "".
	Bastion string `json:"bastion,omitempty"`
	// BastionPort is SSH port to use when connecting to the bastion if it's configured in .Bastion.
	// Default value is 22.
	BastionPort int `json:"bastionPort,omitempty"`
	// BastionUser is system login name to use when connecting to bastion host.
	// Default value is "root".
	BastionUser string `json:"bastionUser,omitempty"`
	// Hostname is the hostname(1) of the host.
	// Default value is populated at the runtime via running `hostname -f` command over ssh.
	Hostname string `json:"hostname,omitempty"`
	// IsLeader indicates this host as a session leader.
	// Default value is populated at the runtime.
	IsLeader bool `json:"isLeader,omitempty"`
	// Taints are taints applied to nodes. If not provided (i.e. nil) for control plane nodes,
	// it defaults to:
	//   * For Kubernetes 1.23 and older: TaintEffectNoSchedule with key node-role.kubernetes.io/master
	//   * For Kubernetes 1.24 and newer: TaintEffectNoSchedule with keys
	//     node-role.kubernetes.io/control-plane and node-role.kubernetes.io/master
	// Explicitly empty (i.e. []corev1.Taint{}) means no taints will be applied (this is default for worker nodes).
	Taints []corev1.Taint `json:"taints,omitempty"`
	// OperatingSystem information populated at the runtime.
	OperatingSystem OperatingSystemName `json:"-"`
}

HostConfig describes a single control plane node.

func (*HostConfig) DeepCopy

func (in *HostConfig) DeepCopy() *HostConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostConfig.

func (*HostConfig) DeepCopyInto

func (in *HostConfig) DeepCopyInto(out *HostConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IPTables added in v1.3.0

type IPTables struct{}

IPTables

func (*IPTables) DeepCopy added in v1.3.0

func (in *IPTables) DeepCopy() *IPTables

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPTables.

func (*IPTables) DeepCopyInto added in v1.3.0

func (in *IPTables) DeepCopyInto(out *IPTables)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IPVSConfig added in v1.3.0

type IPVSConfig struct {
	// ipvs scheduler, if it’s not configured, then round-robin (rr) is the default value.
	// Can be one of:
	// * rr: round-robin
	// * lc: least connection (smallest number of open connections)
	// * dh: destination hashing
	// * sh: source hashing
	// * sed: shortest expected delay
	// * nq: never queue
	Scheduler string `json:"scheduler"`

	// excludeCIDRs is a list of CIDR's which the ipvs proxier should not touch
	// when cleaning up ipvs services.
	ExcludeCIDRs []string `json:"excludeCIDRs"`

	// strict ARP configure arp_ignore and arp_announce to avoid answering ARP queries
	// from kube-ipvs0 interface
	StrictARP bool `json:"strictARP"`

	// tcpTimeout is the timeout value used for idle IPVS TCP sessions.
	// The default value is 0, which preserves the current timeout value on the system.
	TCPTimeout metav1.Duration `json:"tcpTimeout"`

	// tcpFinTimeout is the timeout value used for IPVS TCP sessions after receiving a FIN.
	// The default value is 0, which preserves the current timeout value on the system.
	TCPFinTimeout metav1.Duration `json:"tcpFinTimeout"`

	// udpTimeout is the timeout value used for IPVS UDP packets.
	// The default value is 0, which preserves the current timeout value on the system.
	UDPTimeout metav1.Duration `json:"udpTimeout"`
}

IPVSConfig contains different options to configure IPVS kube-proxy mode

func (*IPVSConfig) DeepCopy added in v1.3.0

func (in *IPVSConfig) DeepCopy() *IPVSConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPVSConfig.

func (*IPVSConfig) DeepCopyInto added in v1.3.0

func (in *IPVSConfig) DeepCopyInto(out *IPVSConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ImageAsset added in v1.2.0

type ImageAsset struct {
	// ImageRepository customizes the registry/repository
	ImageRepository string `json:"imageRepository,omitempty"`
	// ImageTag customizes the image tag
	ImageTag string `json:"imageTag,omitempty"`
}

ImageAsset is used to customize the image repository and the image tag

func (*ImageAsset) DeepCopy added in v1.2.0

func (in *ImageAsset) DeepCopy() *ImageAsset

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageAsset.

func (*ImageAsset) DeepCopyInto added in v1.2.0

func (in *ImageAsset) DeepCopyInto(out *ImageAsset)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KubeOneCluster

type KubeOneCluster struct {
	metav1.TypeMeta `json:",inline"`

	// Name is the name of the cluster.
	Name string `json:"name"`
	// ControlPlane describes the control plane nodes and how to access them.
	ControlPlane ControlPlaneConfig `json:"controlPlane"`
	// APIEndpoint are pairs of address and port used to communicate with the Kubernetes API.
	APIEndpoint APIEndpoint `json:"apiEndpoint"`
	// CloudProvider configures the cloud provider specific features.
	CloudProvider CloudProviderSpec `json:"cloudProvider"`
	// Versions defines which Kubernetes version will be installed.
	Versions VersionConfig `json:"versions"`
	// ContainerRuntime defines which container runtime will be installed
	ContainerRuntime ContainerRuntimeConfig `json:"containerRuntime,omitempty"`
	// ClusterNetwork configures the in-cluster networking.
	ClusterNetwork ClusterNetworkConfig `json:"clusterNetwork,omitempty"`
	// Proxy configures proxy used while installing Kubernetes and by the Docker daemon.
	Proxy ProxyConfig `json:"proxy,omitempty"`
	// StaticWorkers describes the worker nodes that are managed by KubeOne/kubeadm.
	StaticWorkers StaticWorkersConfig `json:"staticWorkers,omitempty"`
	// DynamicWorkers describes the worker nodes that are managed by Kubermatic machine-controller/Cluster-API.
	DynamicWorkers []DynamicWorkerConfig `json:"dynamicWorkers,omitempty"`
	// MachineController configures the Kubermatic machine-controller component.
	MachineController *MachineControllerConfig `json:"machineController,omitempty"`
	// CABundle PEM encoded global CA
	CABundle string `json:"caBundle,omitempty"`
	// Features enables and configures additional cluster features.
	Features Features `json:"features,omitempty"`
	// Addons are used to deploy additional manifests.
	Addons *Addons `json:"addons,omitempty"`
	// SystemPackages configure kubeone behaviour regarding OS packages.
	SystemPackages *SystemPackages `json:"systemPackages,omitempty"`
	// AssetConfiguration configures how are binaries and container images downloaded
	AssetConfiguration AssetConfiguration `json:"assetConfiguration,omitempty"`
	// RegistryConfiguration configures how Docker images are pulled from an image registry
	RegistryConfiguration *RegistryConfiguration `json:"registryConfiguration,omitempty"`
}

KubeOneCluster is KubeOne Cluster API Schema

func NewKubeOneCluster added in v1.5.0

func NewKubeOneCluster() *KubeOneCluster

NewKubeOneCluster initialize KubeOneCluster with correct typeMeta

func (*KubeOneCluster) DeepCopy

func (in *KubeOneCluster) DeepCopy() *KubeOneCluster

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeOneCluster.

func (*KubeOneCluster) DeepCopyInto

func (in *KubeOneCluster) DeepCopyInto(out *KubeOneCluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubeOneCluster) DeepCopyObject

func (in *KubeOneCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KubeProxyConfig added in v1.3.0

type KubeProxyConfig struct {
	// SkipInstallation will skip the installation of kube-proxy
	// default value is false
	SkipInstallation bool `json:"skipInstallation"`

	// IPVS config
	IPVS *IPVSConfig `json:"ipvs"`

	// IPTables config
	IPTables *IPTables `json:"iptables"`
}

KubeProxyConfig defines configured kube-proxy mode, default is iptables mode

func (*KubeProxyConfig) DeepCopy added in v1.3.0

func (in *KubeProxyConfig) DeepCopy() *KubeProxyConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConfig.

func (*KubeProxyConfig) DeepCopyInto added in v1.3.0

func (in *KubeProxyConfig) DeepCopyInto(out *KubeProxyConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KubeProxyReplacementType added in v1.4.0

type KubeProxyReplacementType string
const (
	KubeProxyReplacementStrict   KubeProxyReplacementType = "strict"
	KubeProxyReplacementDisabled KubeProxyReplacementType = "disabled"
)

type MachineControllerConfig

type MachineControllerConfig struct {
	// Deploy
	Deploy bool `json:"deploy,omitempty"`
}

MachineControllerConfig configures kubermatic machine-controller deployment

func (*MachineControllerConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineControllerConfig.

func (*MachineControllerConfig) DeepCopyInto

func (in *MachineControllerConfig) DeepCopyInto(out *MachineControllerConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MetricsServer

type MetricsServer struct {
	// Enable deployment of metrics-server.
	// Default value is true.
	Enable bool `json:"enable,omitempty"`
}

MetricsServer feature flag

func (*MetricsServer) DeepCopy

func (in *MetricsServer) DeepCopy() *MetricsServer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsServer.

func (*MetricsServer) DeepCopyInto

func (in *MetricsServer) DeepCopyInto(out *MetricsServer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NoneSpec

type NoneSpec struct{}

NoneSpec defines a none provider

func (*NoneSpec) DeepCopy

func (in *NoneSpec) DeepCopy() *NoneSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoneSpec.

func (*NoneSpec) DeepCopyInto

func (in *NoneSpec) DeepCopyInto(out *NoneSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OpenIDConnect

type OpenIDConnect struct {
	// Enable
	Enable bool `json:"enable,omitempty"`
	// Config
	Config OpenIDConnectConfig `json:"config"`
}

OpenIDConnect feature flag

func (*OpenIDConnect) DeepCopy

func (in *OpenIDConnect) DeepCopy() *OpenIDConnect

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenIDConnect.

func (*OpenIDConnect) DeepCopyInto

func (in *OpenIDConnect) DeepCopyInto(out *OpenIDConnect)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OpenIDConnectConfig

type OpenIDConnectConfig struct {
	// IssuerURL
	IssuerURL string `json:"issuerUrl"`
	// ClientID
	ClientID string `json:"clientId"`
	// UsernameClaim
	UsernameClaim string `json:"usernameClaim"`
	// UsernamePrefix
	UsernamePrefix string `json:"usernamePrefix"`
	// GroupsClaim
	GroupsClaim string `json:"groupsClaim"`
	// GroupsPrefix
	GroupsPrefix string `json:"groupsPrefix"`
	// RequiredClaim
	RequiredClaim string `json:"requiredClaim"`
	// SigningAlgs
	SigningAlgs string `json:"signingAlgs"`
	// CAFile
	CAFile string `json:"caFile"`
}

OpenIDConnectConfig config

func (*OpenIDConnectConfig) DeepCopy

func (in *OpenIDConnectConfig) DeepCopy() *OpenIDConnectConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenIDConnectConfig.

func (*OpenIDConnectConfig) DeepCopyInto

func (in *OpenIDConnectConfig) DeepCopyInto(out *OpenIDConnectConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OpenstackSpec

type OpenstackSpec struct{}

OpenstackSpec defines the Openstack provider

func (*OpenstackSpec) DeepCopy

func (in *OpenstackSpec) DeepCopy() *OpenstackSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenstackSpec.

func (*OpenstackSpec) DeepCopyInto

func (in *OpenstackSpec) DeepCopyInto(out *OpenstackSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OperatingSystemName

type OperatingSystemName string

OperatingSystemName defines the operating system used on instances

const (
	OperatingSystemNameUbuntu  OperatingSystemName = "ubuntu"
	OperatingSystemNameDebian  OperatingSystemName = "debian"
	OperatingSystemNameCentOS  OperatingSystemName = "centos"
	OperatingSystemNameRHEL    OperatingSystemName = "rhel"
	OperatingSystemNameAmazon  OperatingSystemName = "amzn"
	OperatingSystemNameFlatcar OperatingSystemName = "flatcar"
	OperatingSystemNameUnknown OperatingSystemName = ""
)

type PacketSpec

type PacketSpec struct{}

PacketSpec defines the Packet cloud provider

func (*PacketSpec) DeepCopy

func (in *PacketSpec) DeepCopy() *PacketSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacketSpec.

func (*PacketSpec) DeepCopyInto

func (in *PacketSpec) DeepCopyInto(out *PacketSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PodNodeSelector

type PodNodeSelector struct {
	// Enable
	Enable bool `json:"enable,omitempty"`
	// Config
	Config PodNodeSelectorConfig `json:"config"`
}

PodNodeSelector feature flag

func (*PodNodeSelector) DeepCopy

func (in *PodNodeSelector) DeepCopy() *PodNodeSelector

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodNodeSelector.

func (*PodNodeSelector) DeepCopyInto

func (in *PodNodeSelector) DeepCopyInto(out *PodNodeSelector)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PodNodeSelectorConfig

type PodNodeSelectorConfig struct {
	// ConfigFilePath is a path on the local file system to the PodNodeSelector
	// configuration file.
	// ConfigFilePath is a required field.
	// More info: https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#podnodeselector
	ConfigFilePath string `json:"configFilePath"`
}

PodNodeSelectorConfig config

func (*PodNodeSelectorConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodNodeSelectorConfig.

func (*PodNodeSelectorConfig) DeepCopyInto

func (in *PodNodeSelectorConfig) DeepCopyInto(out *PodNodeSelectorConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PodPresets

type PodPresets struct {
	// Enable
	Enable bool `json:"enable,omitempty"`
}

PodPresets feature flag The PodPresets feature is obsolete and has been removed

func (*PodPresets) DeepCopy

func (in *PodPresets) DeepCopy() *PodPresets

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresets.

func (*PodPresets) DeepCopyInto

func (in *PodPresets) DeepCopyInto(out *PodPresets)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PodSecurityPolicy

type PodSecurityPolicy struct {
	// Enable
	Enable bool `json:"enable,omitempty"`
}

PodSecurityPolicy feature flag This feature is deprecated and will be removed from the API once Kubernetes 1.24 reaches EOL.

func (*PodSecurityPolicy) DeepCopy

func (in *PodSecurityPolicy) DeepCopy() *PodSecurityPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicy.

func (*PodSecurityPolicy) DeepCopyInto

func (in *PodSecurityPolicy) DeepCopyInto(out *PodSecurityPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProviderSpec

type ProviderSpec struct {
	// CloudProviderSpec
	CloudProviderSpec json.RawMessage `json:"cloudProviderSpec"`
	// Annotations set MachineDeployment.ObjectMeta.Annotations
	Annotations map[string]string `json:"annotations,omitempty"`
	// MachineAnnotations set MachineDeployment.Spec.Template.Spec.ObjectMeta.Annotations
	// a way to annotate resulted Nodes
	MachineAnnotations map[string]string `json:"machineAnnotations,omitempty"`
	// Labels
	Labels map[string]string `json:"labels,omitempty"`
	// Taints
	Taints []corev1.Taint `json:"taints,omitempty"`
	// SSHPublicKeys
	SSHPublicKeys []string `json:"sshPublicKeys,omitempty"`
	// OperatingSystem
	OperatingSystem string `json:"operatingSystem"`
	// OperatingSystemSpec
	OperatingSystemSpec json.RawMessage `json:"operatingSystemSpec,omitempty"`
	// Network
	Network *ProviderStaticNetworkConfig `json:"network,omitempty"`
	// OverwriteCloudConfig
	OverwriteCloudConfig *string `json:"overwriteCloudConfig,omitempty"`
}

ProviderSpec describes a worker node

func (*ProviderSpec) DeepCopy

func (in *ProviderSpec) DeepCopy() *ProviderSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderSpec.

func (*ProviderSpec) DeepCopyInto

func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProviderStaticNetworkConfig

type ProviderStaticNetworkConfig struct {
	// CIDR
	CIDR string `json:"cidr"`
	// Gateway
	Gateway string `json:"gateway"`
	// DNS
	DNS DNSConfig `json:"dns"`
}

ProviderStaticNetworkConfig contains a machine's static network configuration

func (*ProviderStaticNetworkConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderStaticNetworkConfig.

func (*ProviderStaticNetworkConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProxyConfig

type ProxyConfig struct {
	// HTTP
	HTTP string `json:"http,omitempty"`
	// HTTPS
	HTTPS string `json:"https,omitempty"`
	// NoProxy
	NoProxy string `json:"noProxy,omitempty"`
}

ProxyConfig configures proxy for the Docker daemon and is used by KubeOne scripts

func (*ProxyConfig) DeepCopy

func (in *ProxyConfig) DeepCopy() *ProxyConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyConfig.

func (*ProxyConfig) DeepCopyInto

func (in *ProxyConfig) DeepCopyInto(out *ProxyConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RegistryConfiguration added in v1.1.0

type RegistryConfiguration struct {
	// OverwriteRegistry specifies a custom Docker registry which will be used
	// for all images required for KubeOne and kubeadm. This also applies to
	// addons deployed by KubeOne.
	// This field doesn't modify the user/organization part of the image. For example,
	// if OverwriteRegistry is set to 127.0.0.1:5000/example, image called
	// calico/cni would translate to 127.0.0.1:5000/example/calico/cni.
	// Default: ""
	OverwriteRegistry string `json:"overwriteRegistry,omitempty"`
	// InsecureRegistry configures Docker to threat the registry specified
	// in OverwriteRegistry as an insecure registry. This is also propagated
	// to the worker nodes managed by machine-controller and/or KubeOne.
	InsecureRegistry bool `json:"insecureRegistry,omitempty"`
}

RegistryConfiguration controls how images used for components deployed by KubeOne and kubeadm are pulled from an image registry

func (*RegistryConfiguration) DeepCopy added in v1.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryConfiguration.

func (*RegistryConfiguration) DeepCopyInto added in v1.1.0

func (in *RegistryConfiguration) DeepCopyInto(out *RegistryConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StaticAuditLog

type StaticAuditLog struct {
	// Enable
	Enable bool `json:"enable,omitempty"`
	// Config
	Config StaticAuditLogConfig `json:"config"`
}

StaticAuditLog feature flag

func (*StaticAuditLog) DeepCopy

func (in *StaticAuditLog) DeepCopy() *StaticAuditLog

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticAuditLog.

func (*StaticAuditLog) DeepCopyInto

func (in *StaticAuditLog) DeepCopyInto(out *StaticAuditLog)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StaticAuditLogConfig

type StaticAuditLogConfig struct {
	// PolicyFilePath is a path on local file system to the audit policy manifest
	// which defines what events should be recorded and what data they should include.
	// PolicyFilePath is a required field.
	// More info: https://kubernetes.io/docs/tasks/debug-application-cluster/audit/#audit-policy
	PolicyFilePath string `json:"policyFilePath"`
	// LogPath is path on control plane instances where audit log files are stored.
	// Default value is /var/log/kubernetes/audit.log
	LogPath string `json:"logPath,omitempty"`
	// LogMaxAge is maximum number of days to retain old audit log files.
	// Default value is 30
	LogMaxAge int `json:"logMaxAge,omitempty"`
	// LogMaxBackup is maximum number of audit log files to retain.
	// Default value is 3.
	LogMaxBackup int `json:"logMaxBackup,omitempty"`
	// LogMaxSize is maximum size in megabytes of audit log file before it gets rotated.
	// Default value is 100.
	LogMaxSize int `json:"logMaxSize,omitempty"`
}

StaticAuditLogConfig config

func (*StaticAuditLogConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticAuditLogConfig.

func (*StaticAuditLogConfig) DeepCopyInto

func (in *StaticAuditLogConfig) DeepCopyInto(out *StaticAuditLogConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StaticWorkersConfig

type StaticWorkersConfig struct {
	// Hosts
	Hosts []HostConfig `json:"hosts,omitempty"`
}

StaticWorkersConfig defines static worker nodes provisioned by KubeOne and kubeadm

func (*StaticWorkersConfig) DeepCopy

func (in *StaticWorkersConfig) DeepCopy() *StaticWorkersConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticWorkersConfig.

func (*StaticWorkersConfig) DeepCopyInto

func (in *StaticWorkersConfig) DeepCopyInto(out *StaticWorkersConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SystemPackages

type SystemPackages struct {
	// ConfigureRepositories (true by default) is a flag to control automatic
	// configuration of kubeadm / docker repositories.
	ConfigureRepositories bool `json:"configureRepositories,omitempty"`
}

SystemPackages controls configurations of APT/YUM

func (*SystemPackages) DeepCopy

func (in *SystemPackages) DeepCopy() *SystemPackages

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemPackages.

func (*SystemPackages) DeepCopyInto

func (in *SystemPackages) DeepCopyInto(out *SystemPackages)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VersionConfig

type VersionConfig struct {
	Kubernetes string `json:"kubernetes"`
}

VersionConfig describes the versions of components that are installed on the machines

func (*VersionConfig) DeepCopy

func (in *VersionConfig) DeepCopy() *VersionConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionConfig.

func (*VersionConfig) DeepCopyInto

func (in *VersionConfig) DeepCopyInto(out *VersionConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VsphereSpec

type VsphereSpec struct{}

VsphereSpec defines the vSphere provider

func (*VsphereSpec) DeepCopy

func (in *VsphereSpec) DeepCopy() *VsphereSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereSpec.

func (*VsphereSpec) DeepCopyInto

func (in *VsphereSpec) DeepCopyInto(out *VsphereSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WeaveNetSpec

type WeaveNetSpec struct {
	// Encrypted
	Encrypted bool `json:"encrypted,omitempty"`
}

WeaveNetSpec defines the WeaveNet CNI plugin

func (*WeaveNetSpec) DeepCopy

func (in *WeaveNetSpec) DeepCopy() *WeaveNetSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeaveNetSpec.

func (*WeaveNetSpec) DeepCopyInto

func (in *WeaveNetSpec) DeepCopyInto(out *WeaveNetSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL