v1beta2

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Overview

Package v1beta2 defines the v1beta2 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 (
	// DefaultPodSubnetIPv6 is the default network range from which IPv6 POD networks are allocated.
	DefaultPodSubnetIPv6 = "fd01::/48"
	// DefaultServiceSubnetIPv6 is the default network range from which IPv6 service VIPs are allocated.
	DefaultServiceSubnetIPv6 = "fd02::/120"
	// DefaultNodeCIDRMaskSizeIPv4 is the default mask size used to address the nodes within provided IPv4 Pods CIDR.
	DefaultNodeCIDRMaskSizeIPv4 = 24
	// DefaultNodeCIDRMaskSizeIPv6 is the default mask size used to address the nodes within provided IPv6 Pods CIDR.
	DefaultNodeCIDRMaskSizeIPv6 = 64
)
View Source
const GroupName = "kubeone.k8c.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: "v1beta2"}

SchemeGroupVersion is group version used to register API objects

Functions

func Convert_kubeone_APIEndpoint_To_v1beta2_APIEndpoint

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

Convert_kubeone_APIEndpoint_To_v1beta2_APIEndpoint is an autogenerated conversion function.

func Convert_kubeone_AWSSpec_To_v1beta2_AWSSpec

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

Convert_kubeone_AWSSpec_To_v1beta2_AWSSpec is an autogenerated conversion function.

func Convert_kubeone_Addon_To_v1beta2_Addon

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

Convert_kubeone_Addon_To_v1beta2_Addon is an autogenerated conversion function.

func Convert_kubeone_Addons_To_v1beta2_Addons

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

Convert_kubeone_Addons_To_v1beta2_Addons is an autogenerated conversion function.

func Convert_kubeone_AzureSpec_To_v1beta2_AzureSpec

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

Convert_kubeone_AzureSpec_To_v1beta2_AzureSpec is an autogenerated conversion function.

func Convert_kubeone_BinaryAsset_To_v1beta2_BinaryAsset

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

Convert_kubeone_BinaryAsset_To_v1beta2_BinaryAsset is an autogenerated conversion function.

func Convert_kubeone_CNI_To_v1beta2_CNI

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

Convert_kubeone_CNI_To_v1beta2_CNI is an autogenerated conversion function.

func Convert_kubeone_CanalSpec_To_v1beta2_CanalSpec

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

Convert_kubeone_CanalSpec_To_v1beta2_CanalSpec is an autogenerated conversion function.

func Convert_kubeone_CiliumSpec_To_v1beta2_CiliumSpec

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

Convert_kubeone_CiliumSpec_To_v1beta2_CiliumSpec is an autogenerated conversion function.

func Convert_kubeone_CloudProviderSpec_To_v1beta2_CloudProviderSpec

func Convert_kubeone_CloudProviderSpec_To_v1beta2_CloudProviderSpec(in *kubeone.CloudProviderSpec, out *CloudProviderSpec, s conversion.Scope) error

Convert_kubeone_CloudProviderSpec_To_v1beta2_CloudProviderSpec is an autogenerated conversion function.

func Convert_kubeone_ClusterNetworkConfig_To_v1beta2_ClusterNetworkConfig

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

Convert_kubeone_ClusterNetworkConfig_To_v1beta2_ClusterNetworkConfig is an autogenerated conversion function.

func Convert_kubeone_ContainerRuntimeConfig_To_v1beta2_ContainerRuntimeConfig

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

Convert_kubeone_ContainerRuntimeConfig_To_v1beta2_ContainerRuntimeConfig is an autogenerated conversion function.

func Convert_kubeone_ContainerRuntimeContainerd_To_v1beta2_ContainerRuntimeContainerd

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

Convert_kubeone_ContainerRuntimeContainerd_To_v1beta2_ContainerRuntimeContainerd is an autogenerated conversion function.

func Convert_kubeone_ContainerRuntimeDocker_To_v1beta2_ContainerRuntimeDocker

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

Convert_kubeone_ContainerRuntimeDocker_To_v1beta2_ContainerRuntimeDocker is an autogenerated conversion function.

func Convert_kubeone_ContainerdRegistryAuthConfig_To_v1beta2_ContainerdRegistryAuthConfig

func Convert_kubeone_ContainerdRegistryAuthConfig_To_v1beta2_ContainerdRegistryAuthConfig(in *kubeone.ContainerdRegistryAuthConfig, out *ContainerdRegistryAuthConfig, s conversion.Scope) error

Convert_kubeone_ContainerdRegistryAuthConfig_To_v1beta2_ContainerdRegistryAuthConfig is an autogenerated conversion function.

func Convert_kubeone_ContainerdRegistry_To_v1beta2_ContainerdRegistry

func Convert_kubeone_ContainerdRegistry_To_v1beta2_ContainerdRegistry(in *kubeone.ContainerdRegistry, out *ContainerdRegistry, s conversion.Scope) error

Convert_kubeone_ContainerdRegistry_To_v1beta2_ContainerdRegistry is an autogenerated conversion function.

func Convert_kubeone_ContainerdTLSConfig_To_v1beta2_ContainerdTLSConfig

func Convert_kubeone_ContainerdTLSConfig_To_v1beta2_ContainerdTLSConfig(in *kubeone.ContainerdTLSConfig, out *ContainerdTLSConfig, s conversion.Scope) error

Convert_kubeone_ContainerdTLSConfig_To_v1beta2_ContainerdTLSConfig is an autogenerated conversion function.

func Convert_kubeone_ControlPlaneConfig_To_v1beta2_ControlPlaneConfig

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

Convert_kubeone_ControlPlaneConfig_To_v1beta2_ControlPlaneConfig is an autogenerated conversion function.

func Convert_kubeone_CoreDNS_To_v1beta2_CoreDNS added in v1.5.0

func Convert_kubeone_CoreDNS_To_v1beta2_CoreDNS(in *kubeone.CoreDNS, out *CoreDNS, s conversion.Scope) error

Convert_kubeone_CoreDNS_To_v1beta2_CoreDNS is an autogenerated conversion function.

func Convert_kubeone_DNSConfig_To_v1beta2_DNSConfig

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

Convert_kubeone_DNSConfig_To_v1beta2_DNSConfig is an autogenerated conversion function.

func Convert_kubeone_DigitalOceanSpec_To_v1beta2_DigitalOceanSpec

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

Convert_kubeone_DigitalOceanSpec_To_v1beta2_DigitalOceanSpec is an autogenerated conversion function.

func Convert_kubeone_DynamicAuditLog_To_v1beta2_DynamicAuditLog

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

Convert_kubeone_DynamicAuditLog_To_v1beta2_DynamicAuditLog is an autogenerated conversion function.

func Convert_kubeone_DynamicWorkerConfig_To_v1beta2_DynamicWorkerConfig

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

Convert_kubeone_DynamicWorkerConfig_To_v1beta2_DynamicWorkerConfig is an autogenerated conversion function.

func Convert_kubeone_EncryptionProviders_To_v1beta2_EncryptionProviders

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

Convert_kubeone_EncryptionProviders_To_v1beta2_EncryptionProviders is an autogenerated conversion function.

func Convert_kubeone_EquinixMetalSpec_To_v1beta2_EquinixMetalSpec

func Convert_kubeone_EquinixMetalSpec_To_v1beta2_EquinixMetalSpec(in *kubeone.EquinixMetalSpec, out *EquinixMetalSpec, s conversion.Scope) error

Convert_kubeone_EquinixMetalSpec_To_v1beta2_EquinixMetalSpec is an autogenerated conversion function.

func Convert_kubeone_ExternalCNISpec_To_v1beta2_ExternalCNISpec

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

Convert_kubeone_ExternalCNISpec_To_v1beta2_ExternalCNISpec is an autogenerated conversion function.

func Convert_kubeone_Features_To_v1beta2_Features

func Convert_kubeone_Features_To_v1beta2_Features(in *kubeone.Features, out *Features, s conversion.Scope) error

Convert_kubeone_Features_To_v1beta2_Features is an autogenerated conversion function.

func Convert_kubeone_GCESpec_To_v1beta2_GCESpec

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

Convert_kubeone_GCESpec_To_v1beta2_GCESpec is an autogenerated conversion function.

func Convert_kubeone_HelmRelease_To_v1beta2_HelmRelease added in v1.6.0

func Convert_kubeone_HelmRelease_To_v1beta2_HelmRelease(in *kubeone.HelmRelease, out *HelmRelease, s conversion.Scope) error

Convert_kubeone_HelmRelease_To_v1beta2_HelmRelease is an autogenerated conversion function.

func Convert_kubeone_HelmValues_To_v1beta2_HelmValues added in v1.6.0

func Convert_kubeone_HelmValues_To_v1beta2_HelmValues(in *kubeone.HelmValues, out *HelmValues, s conversion.Scope) error

Convert_kubeone_HelmValues_To_v1beta2_HelmValues is an autogenerated conversion function.

func Convert_kubeone_HetznerSpec_To_v1beta2_HetznerSpec

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

Convert_kubeone_HetznerSpec_To_v1beta2_HetznerSpec is an autogenerated conversion function.

func Convert_kubeone_HostConfig_To_v1beta2_HostConfig

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

Convert_kubeone_HostConfig_To_v1beta2_HostConfig is an autogenerated conversion function.

func Convert_kubeone_IPTables_To_v1beta2_IPTables

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

Convert_kubeone_IPTables_To_v1beta2_IPTables is an autogenerated conversion function.

func Convert_kubeone_IPVSConfig_To_v1beta2_IPVSConfig

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

Convert_kubeone_IPVSConfig_To_v1beta2_IPVSConfig is an autogenerated conversion function.

func Convert_kubeone_ImageAsset_To_v1beta2_ImageAsset

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

Convert_kubeone_ImageAsset_To_v1beta2_ImageAsset is an autogenerated conversion function.

func Convert_kubeone_KubeOneCluster_To_v1beta2_KubeOneCluster

func Convert_kubeone_KubeOneCluster_To_v1beta2_KubeOneCluster(in *kubeoneapi.KubeOneCluster, out *KubeOneCluster, scope conversion.Scope) error

func Convert_kubeone_KubeProxyConfig_To_v1beta2_KubeProxyConfig

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

Convert_kubeone_KubeProxyConfig_To_v1beta2_KubeProxyConfig is an autogenerated conversion function.

func Convert_kubeone_KubeletConfig_To_v1beta2_KubeletConfig

func Convert_kubeone_KubeletConfig_To_v1beta2_KubeletConfig(in *kubeone.KubeletConfig, out *KubeletConfig, s conversion.Scope) error

Convert_kubeone_KubeletConfig_To_v1beta2_KubeletConfig is an autogenerated conversion function.

func Convert_kubeone_LoggingConfig_To_v1beta2_LoggingConfig

func Convert_kubeone_LoggingConfig_To_v1beta2_LoggingConfig(in *kubeone.LoggingConfig, out *LoggingConfig, s conversion.Scope) error

Convert_kubeone_LoggingConfig_To_v1beta2_LoggingConfig is an autogenerated conversion function.

func Convert_kubeone_MachineControllerConfig_To_v1beta2_MachineControllerConfig

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

Convert_kubeone_MachineControllerConfig_To_v1beta2_MachineControllerConfig is an autogenerated conversion function.

func Convert_kubeone_MetricsServer_To_v1beta2_MetricsServer

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

Convert_kubeone_MetricsServer_To_v1beta2_MetricsServer is an autogenerated conversion function.

func Convert_kubeone_NodeLocalDNS_To_v1beta2_NodeLocalDNS added in v1.5.1

func Convert_kubeone_NodeLocalDNS_To_v1beta2_NodeLocalDNS(in *kubeone.NodeLocalDNS, out *NodeLocalDNS, s conversion.Scope) error

Convert_kubeone_NodeLocalDNS_To_v1beta2_NodeLocalDNS is an autogenerated conversion function.

func Convert_kubeone_NoneSpec_To_v1beta2_NoneSpec

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

Convert_kubeone_NoneSpec_To_v1beta2_NoneSpec is an autogenerated conversion function.

func Convert_kubeone_NutanixSpec_To_v1beta2_NutanixSpec

func Convert_kubeone_NutanixSpec_To_v1beta2_NutanixSpec(in *kubeone.NutanixSpec, out *NutanixSpec, s conversion.Scope) error

Convert_kubeone_NutanixSpec_To_v1beta2_NutanixSpec is an autogenerated conversion function.

func Convert_kubeone_OpenIDConnectConfig_To_v1beta2_OpenIDConnectConfig

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

Convert_kubeone_OpenIDConnectConfig_To_v1beta2_OpenIDConnectConfig is an autogenerated conversion function.

func Convert_kubeone_OpenIDConnect_To_v1beta2_OpenIDConnect

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

Convert_kubeone_OpenIDConnect_To_v1beta2_OpenIDConnect is an autogenerated conversion function.

func Convert_kubeone_OpenstackSpec_To_v1beta2_OpenstackSpec

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

Convert_kubeone_OpenstackSpec_To_v1beta2_OpenstackSpec is an autogenerated conversion function.

func Convert_kubeone_OperatingSystemManagerConfig_To_v1beta2_OperatingSystemManagerConfig added in v1.5.0

func Convert_kubeone_OperatingSystemManagerConfig_To_v1beta2_OperatingSystemManagerConfig(in *kubeone.OperatingSystemManagerConfig, out *OperatingSystemManagerConfig, s conversion.Scope) error

Convert_kubeone_OperatingSystemManagerConfig_To_v1beta2_OperatingSystemManagerConfig is an autogenerated conversion function.

func Convert_kubeone_PodNodeSelectorConfig_To_v1beta2_PodNodeSelectorConfig

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

Convert_kubeone_PodNodeSelectorConfig_To_v1beta2_PodNodeSelectorConfig is an autogenerated conversion function.

func Convert_kubeone_PodNodeSelector_To_v1beta2_PodNodeSelector

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

Convert_kubeone_PodNodeSelector_To_v1beta2_PodNodeSelector is an autogenerated conversion function.

func Convert_kubeone_PodSecurityPolicy_To_v1beta2_PodSecurityPolicy

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

Convert_kubeone_PodSecurityPolicy_To_v1beta2_PodSecurityPolicy is an autogenerated conversion function.

func Convert_kubeone_ProviderSpec_To_v1beta2_ProviderSpec

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

Convert_kubeone_ProviderSpec_To_v1beta2_ProviderSpec is an autogenerated conversion function.

func Convert_kubeone_ProviderStaticNetworkConfig_To_v1beta2_ProviderStaticNetworkConfig

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

Convert_kubeone_ProviderStaticNetworkConfig_To_v1beta2_ProviderStaticNetworkConfig is an autogenerated conversion function.

func Convert_kubeone_ProxyConfig_To_v1beta2_ProxyConfig

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

Convert_kubeone_ProxyConfig_To_v1beta2_ProxyConfig is an autogenerated conversion function.

func Convert_kubeone_RegistryConfiguration_To_v1beta2_RegistryConfiguration

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

Convert_kubeone_RegistryConfiguration_To_v1beta2_RegistryConfiguration is an autogenerated conversion function.

func Convert_kubeone_StaticAuditLogConfig_To_v1beta2_StaticAuditLogConfig

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

Convert_kubeone_StaticAuditLogConfig_To_v1beta2_StaticAuditLogConfig is an autogenerated conversion function.

func Convert_kubeone_StaticAuditLog_To_v1beta2_StaticAuditLog

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

Convert_kubeone_StaticAuditLog_To_v1beta2_StaticAuditLog is an autogenerated conversion function.

func Convert_kubeone_StaticWorkersConfig_To_v1beta2_StaticWorkersConfig

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

Convert_kubeone_StaticWorkersConfig_To_v1beta2_StaticWorkersConfig is an autogenerated conversion function.

func Convert_kubeone_SystemPackages_To_v1beta2_SystemPackages

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

Convert_kubeone_SystemPackages_To_v1beta2_SystemPackages is an autogenerated conversion function.

func Convert_kubeone_VMwareCloudDirectorSpec_To_v1beta2_VMwareCloudDirectorSpec added in v1.5.0

func Convert_kubeone_VMwareCloudDirectorSpec_To_v1beta2_VMwareCloudDirectorSpec(in *kubeone.VMwareCloudDirectorSpec, out *VMwareCloudDirectorSpec, s conversion.Scope) error

Convert_kubeone_VMwareCloudDirectorSpec_To_v1beta2_VMwareCloudDirectorSpec is an autogenerated conversion function.

func Convert_kubeone_VersionConfig_To_v1beta2_VersionConfig

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

Convert_kubeone_VersionConfig_To_v1beta2_VersionConfig is an autogenerated conversion function.

func Convert_kubeone_VsphereSpec_To_v1beta2_VsphereSpec

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

Convert_kubeone_VsphereSpec_To_v1beta2_VsphereSpec is an autogenerated conversion function.

func Convert_kubeone_WeaveNetSpec_To_v1beta2_WeaveNetSpec

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

Convert_kubeone_WeaveNetSpec_To_v1beta2_WeaveNetSpec is an autogenerated conversion function.

func Convert_v1beta2_APIEndpoint_To_kubeone_APIEndpoint

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

Convert_v1beta2_APIEndpoint_To_kubeone_APIEndpoint is an autogenerated conversion function.

func Convert_v1beta2_AWSSpec_To_kubeone_AWSSpec

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

Convert_v1beta2_AWSSpec_To_kubeone_AWSSpec is an autogenerated conversion function.

func Convert_v1beta2_Addon_To_kubeone_Addon

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

Convert_v1beta2_Addon_To_kubeone_Addon is an autogenerated conversion function.

func Convert_v1beta2_Addons_To_kubeone_Addons

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

Convert_v1beta2_Addons_To_kubeone_Addons is an autogenerated conversion function.

func Convert_v1beta2_AzureSpec_To_kubeone_AzureSpec

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

Convert_v1beta2_AzureSpec_To_kubeone_AzureSpec is an autogenerated conversion function.

func Convert_v1beta2_BinaryAsset_To_kubeone_BinaryAsset

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

Convert_v1beta2_BinaryAsset_To_kubeone_BinaryAsset is an autogenerated conversion function.

func Convert_v1beta2_CNI_To_kubeone_CNI

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

Convert_v1beta2_CNI_To_kubeone_CNI is an autogenerated conversion function.

func Convert_v1beta2_CanalSpec_To_kubeone_CanalSpec

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

Convert_v1beta2_CanalSpec_To_kubeone_CanalSpec is an autogenerated conversion function.

func Convert_v1beta2_CiliumSpec_To_kubeone_CiliumSpec

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

Convert_v1beta2_CiliumSpec_To_kubeone_CiliumSpec is an autogenerated conversion function.

func Convert_v1beta2_CloudProviderSpec_To_kubeone_CloudProviderSpec

func Convert_v1beta2_CloudProviderSpec_To_kubeone_CloudProviderSpec(in *CloudProviderSpec, out *kubeone.CloudProviderSpec, s conversion.Scope) error

Convert_v1beta2_CloudProviderSpec_To_kubeone_CloudProviderSpec is an autogenerated conversion function.

func Convert_v1beta2_ClusterNetworkConfig_To_kubeone_ClusterNetworkConfig

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

Convert_v1beta2_ClusterNetworkConfig_To_kubeone_ClusterNetworkConfig is an autogenerated conversion function.

func Convert_v1beta2_ContainerRuntimeConfig_To_kubeone_ContainerRuntimeConfig

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

Convert_v1beta2_ContainerRuntimeConfig_To_kubeone_ContainerRuntimeConfig is an autogenerated conversion function.

func Convert_v1beta2_ContainerRuntimeContainerd_To_kubeone_ContainerRuntimeContainerd

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

Convert_v1beta2_ContainerRuntimeContainerd_To_kubeone_ContainerRuntimeContainerd is an autogenerated conversion function.

func Convert_v1beta2_ContainerRuntimeDocker_To_kubeone_ContainerRuntimeDocker

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

Convert_v1beta2_ContainerRuntimeDocker_To_kubeone_ContainerRuntimeDocker is an autogenerated conversion function.

func Convert_v1beta2_ContainerdRegistryAuthConfig_To_kubeone_ContainerdRegistryAuthConfig

func Convert_v1beta2_ContainerdRegistryAuthConfig_To_kubeone_ContainerdRegistryAuthConfig(in *ContainerdRegistryAuthConfig, out *kubeone.ContainerdRegistryAuthConfig, s conversion.Scope) error

Convert_v1beta2_ContainerdRegistryAuthConfig_To_kubeone_ContainerdRegistryAuthConfig is an autogenerated conversion function.

func Convert_v1beta2_ContainerdRegistry_To_kubeone_ContainerdRegistry

func Convert_v1beta2_ContainerdRegistry_To_kubeone_ContainerdRegistry(in *ContainerdRegistry, out *kubeone.ContainerdRegistry, s conversion.Scope) error

Convert_v1beta2_ContainerdRegistry_To_kubeone_ContainerdRegistry is an autogenerated conversion function.

func Convert_v1beta2_ContainerdTLSConfig_To_kubeone_ContainerdTLSConfig

func Convert_v1beta2_ContainerdTLSConfig_To_kubeone_ContainerdTLSConfig(in *ContainerdTLSConfig, out *kubeone.ContainerdTLSConfig, s conversion.Scope) error

Convert_v1beta2_ContainerdTLSConfig_To_kubeone_ContainerdTLSConfig is an autogenerated conversion function.

func Convert_v1beta2_ControlPlaneConfig_To_kubeone_ControlPlaneConfig

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

Convert_v1beta2_ControlPlaneConfig_To_kubeone_ControlPlaneConfig is an autogenerated conversion function.

func Convert_v1beta2_CoreDNS_To_kubeone_CoreDNS added in v1.5.0

func Convert_v1beta2_CoreDNS_To_kubeone_CoreDNS(in *CoreDNS, out *kubeone.CoreDNS, s conversion.Scope) error

Convert_v1beta2_CoreDNS_To_kubeone_CoreDNS is an autogenerated conversion function.

func Convert_v1beta2_DNSConfig_To_kubeone_DNSConfig

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

Convert_v1beta2_DNSConfig_To_kubeone_DNSConfig is an autogenerated conversion function.

func Convert_v1beta2_DigitalOceanSpec_To_kubeone_DigitalOceanSpec

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

Convert_v1beta2_DigitalOceanSpec_To_kubeone_DigitalOceanSpec is an autogenerated conversion function.

func Convert_v1beta2_DynamicAuditLog_To_kubeone_DynamicAuditLog

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

Convert_v1beta2_DynamicAuditLog_To_kubeone_DynamicAuditLog is an autogenerated conversion function.

func Convert_v1beta2_DynamicWorkerConfig_To_kubeone_DynamicWorkerConfig

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

Convert_v1beta2_DynamicWorkerConfig_To_kubeone_DynamicWorkerConfig is an autogenerated conversion function.

func Convert_v1beta2_EncryptionProviders_To_kubeone_EncryptionProviders

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

Convert_v1beta2_EncryptionProviders_To_kubeone_EncryptionProviders is an autogenerated conversion function.

func Convert_v1beta2_EquinixMetalSpec_To_kubeone_EquinixMetalSpec

func Convert_v1beta2_EquinixMetalSpec_To_kubeone_EquinixMetalSpec(in *EquinixMetalSpec, out *kubeone.EquinixMetalSpec, s conversion.Scope) error

Convert_v1beta2_EquinixMetalSpec_To_kubeone_EquinixMetalSpec is an autogenerated conversion function.

func Convert_v1beta2_ExternalCNISpec_To_kubeone_ExternalCNISpec

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

Convert_v1beta2_ExternalCNISpec_To_kubeone_ExternalCNISpec is an autogenerated conversion function.

func Convert_v1beta2_Features_To_kubeone_Features

func Convert_v1beta2_Features_To_kubeone_Features(in *Features, out *kubeone.Features, s conversion.Scope) error

Convert_v1beta2_Features_To_kubeone_Features is an autogenerated conversion function.

func Convert_v1beta2_GCESpec_To_kubeone_GCESpec

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

Convert_v1beta2_GCESpec_To_kubeone_GCESpec is an autogenerated conversion function.

func Convert_v1beta2_HelmRelease_To_kubeone_HelmRelease added in v1.6.0

func Convert_v1beta2_HelmRelease_To_kubeone_HelmRelease(in *HelmRelease, out *kubeone.HelmRelease, s conversion.Scope) error

Convert_v1beta2_HelmRelease_To_kubeone_HelmRelease is an autogenerated conversion function.

func Convert_v1beta2_HelmValues_To_kubeone_HelmValues added in v1.6.0

func Convert_v1beta2_HelmValues_To_kubeone_HelmValues(in *HelmValues, out *kubeone.HelmValues, s conversion.Scope) error

Convert_v1beta2_HelmValues_To_kubeone_HelmValues is an autogenerated conversion function.

func Convert_v1beta2_HetznerSpec_To_kubeone_HetznerSpec

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

Convert_v1beta2_HetznerSpec_To_kubeone_HetznerSpec is an autogenerated conversion function.

func Convert_v1beta2_HostConfig_To_kubeone_HostConfig

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

Convert_v1beta2_HostConfig_To_kubeone_HostConfig is an autogenerated conversion function.

func Convert_v1beta2_IPTables_To_kubeone_IPTables

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

Convert_v1beta2_IPTables_To_kubeone_IPTables is an autogenerated conversion function.

func Convert_v1beta2_IPVSConfig_To_kubeone_IPVSConfig

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

Convert_v1beta2_IPVSConfig_To_kubeone_IPVSConfig is an autogenerated conversion function.

func Convert_v1beta2_ImageAsset_To_kubeone_ImageAsset

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

Convert_v1beta2_ImageAsset_To_kubeone_ImageAsset is an autogenerated conversion function.

func Convert_v1beta2_KubeOneCluster_To_kubeone_KubeOneCluster

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

Convert_v1beta2_KubeOneCluster_To_kubeone_KubeOneCluster is an autogenerated conversion function.

func Convert_v1beta2_KubeProxyConfig_To_kubeone_KubeProxyConfig

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

Convert_v1beta2_KubeProxyConfig_To_kubeone_KubeProxyConfig is an autogenerated conversion function.

func Convert_v1beta2_KubeletConfig_To_kubeone_KubeletConfig

func Convert_v1beta2_KubeletConfig_To_kubeone_KubeletConfig(in *KubeletConfig, out *kubeone.KubeletConfig, s conversion.Scope) error

Convert_v1beta2_KubeletConfig_To_kubeone_KubeletConfig is an autogenerated conversion function.

func Convert_v1beta2_LoggingConfig_To_kubeone_LoggingConfig

func Convert_v1beta2_LoggingConfig_To_kubeone_LoggingConfig(in *LoggingConfig, out *kubeone.LoggingConfig, s conversion.Scope) error

Convert_v1beta2_LoggingConfig_To_kubeone_LoggingConfig is an autogenerated conversion function.

func Convert_v1beta2_MachineControllerConfig_To_kubeone_MachineControllerConfig

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

Convert_v1beta2_MachineControllerConfig_To_kubeone_MachineControllerConfig is an autogenerated conversion function.

func Convert_v1beta2_MetricsServer_To_kubeone_MetricsServer

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

Convert_v1beta2_MetricsServer_To_kubeone_MetricsServer is an autogenerated conversion function.

func Convert_v1beta2_NodeLocalDNS_To_kubeone_NodeLocalDNS added in v1.5.1

func Convert_v1beta2_NodeLocalDNS_To_kubeone_NodeLocalDNS(in *NodeLocalDNS, out *kubeone.NodeLocalDNS, s conversion.Scope) error

Convert_v1beta2_NodeLocalDNS_To_kubeone_NodeLocalDNS is an autogenerated conversion function.

func Convert_v1beta2_NoneSpec_To_kubeone_NoneSpec

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

Convert_v1beta2_NoneSpec_To_kubeone_NoneSpec is an autogenerated conversion function.

func Convert_v1beta2_NutanixSpec_To_kubeone_NutanixSpec

func Convert_v1beta2_NutanixSpec_To_kubeone_NutanixSpec(in *NutanixSpec, out *kubeone.NutanixSpec, s conversion.Scope) error

Convert_v1beta2_NutanixSpec_To_kubeone_NutanixSpec is an autogenerated conversion function.

func Convert_v1beta2_OpenIDConnectConfig_To_kubeone_OpenIDConnectConfig

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

Convert_v1beta2_OpenIDConnectConfig_To_kubeone_OpenIDConnectConfig is an autogenerated conversion function.

func Convert_v1beta2_OpenIDConnect_To_kubeone_OpenIDConnect

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

Convert_v1beta2_OpenIDConnect_To_kubeone_OpenIDConnect is an autogenerated conversion function.

func Convert_v1beta2_OpenstackSpec_To_kubeone_OpenstackSpec

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

Convert_v1beta2_OpenstackSpec_To_kubeone_OpenstackSpec is an autogenerated conversion function.

func Convert_v1beta2_OperatingSystemManagerConfig_To_kubeone_OperatingSystemManagerConfig added in v1.5.0

func Convert_v1beta2_OperatingSystemManagerConfig_To_kubeone_OperatingSystemManagerConfig(in *OperatingSystemManagerConfig, out *kubeone.OperatingSystemManagerConfig, s conversion.Scope) error

Convert_v1beta2_OperatingSystemManagerConfig_To_kubeone_OperatingSystemManagerConfig is an autogenerated conversion function.

func Convert_v1beta2_PodNodeSelectorConfig_To_kubeone_PodNodeSelectorConfig

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

Convert_v1beta2_PodNodeSelectorConfig_To_kubeone_PodNodeSelectorConfig is an autogenerated conversion function.

func Convert_v1beta2_PodNodeSelector_To_kubeone_PodNodeSelector

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

Convert_v1beta2_PodNodeSelector_To_kubeone_PodNodeSelector is an autogenerated conversion function.

func Convert_v1beta2_PodSecurityPolicy_To_kubeone_PodSecurityPolicy

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

Convert_v1beta2_PodSecurityPolicy_To_kubeone_PodSecurityPolicy is an autogenerated conversion function.

func Convert_v1beta2_ProviderSpec_To_kubeone_ProviderSpec

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

Convert_v1beta2_ProviderSpec_To_kubeone_ProviderSpec is an autogenerated conversion function.

func Convert_v1beta2_ProviderStaticNetworkConfig_To_kubeone_ProviderStaticNetworkConfig

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

Convert_v1beta2_ProviderStaticNetworkConfig_To_kubeone_ProviderStaticNetworkConfig is an autogenerated conversion function.

func Convert_v1beta2_ProxyConfig_To_kubeone_ProxyConfig

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

Convert_v1beta2_ProxyConfig_To_kubeone_ProxyConfig is an autogenerated conversion function.

func Convert_v1beta2_RegistryConfiguration_To_kubeone_RegistryConfiguration

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

Convert_v1beta2_RegistryConfiguration_To_kubeone_RegistryConfiguration is an autogenerated conversion function.

func Convert_v1beta2_StaticAuditLogConfig_To_kubeone_StaticAuditLogConfig

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

Convert_v1beta2_StaticAuditLogConfig_To_kubeone_StaticAuditLogConfig is an autogenerated conversion function.

func Convert_v1beta2_StaticAuditLog_To_kubeone_StaticAuditLog

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

Convert_v1beta2_StaticAuditLog_To_kubeone_StaticAuditLog is an autogenerated conversion function.

func Convert_v1beta2_StaticWorkersConfig_To_kubeone_StaticWorkersConfig

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

Convert_v1beta2_StaticWorkersConfig_To_kubeone_StaticWorkersConfig is an autogenerated conversion function.

func Convert_v1beta2_SystemPackages_To_kubeone_SystemPackages

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

Convert_v1beta2_SystemPackages_To_kubeone_SystemPackages is an autogenerated conversion function.

func Convert_v1beta2_VMwareCloudDirectorSpec_To_kubeone_VMwareCloudDirectorSpec added in v1.5.0

func Convert_v1beta2_VMwareCloudDirectorSpec_To_kubeone_VMwareCloudDirectorSpec(in *VMwareCloudDirectorSpec, out *kubeone.VMwareCloudDirectorSpec, s conversion.Scope) error

Convert_v1beta2_VMwareCloudDirectorSpec_To_kubeone_VMwareCloudDirectorSpec is an autogenerated conversion function.

func Convert_v1beta2_VersionConfig_To_kubeone_VersionConfig

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

Convert_v1beta2_VersionConfig_To_kubeone_VersionConfig is an autogenerated conversion function.

func Convert_v1beta2_VsphereSpec_To_kubeone_VsphereSpec

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

Convert_v1beta2_VsphereSpec_To_kubeone_VsphereSpec is an autogenerated conversion function.

func Convert_v1beta2_WeaveNetSpec_To_kubeone_WeaveNetSpec

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

Convert_v1beta2_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_CloudConfig added in v1.6.0

func SetDefaults_CloudConfig(obj *KubeOneCluster)

func SetDefaults_ClusterNetwork

func SetDefaults_ClusterNetwork(obj *KubeOneCluster)

func SetDefaults_ContainerRuntime

func SetDefaults_ContainerRuntime(obj *KubeOneCluster)

func SetDefaults_Features

func SetDefaults_Features(obj *KubeOneCluster)

func SetDefaults_HelmReleases added in v1.6.0

func SetDefaults_HelmReleases(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_OperatingSystemManager added in v1.5.0

func SetDefaults_OperatingSystemManager(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

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"`

	// DisableTemplating is used to disable templatization for the addon.
	DisableTemplating bool `json:"disableTemplating,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

func (in *Addon) DeepCopy() *Addon

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

func (*Addon) DeepCopyInto

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 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

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

func (in *BinaryAsset) DeepCopy() *BinaryAsset

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

func (*BinaryAsset) DeepCopyInto

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

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

func (in *CiliumSpec) DeepCopy() *CiliumSpec

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

func (*CiliumSpec) DeepCopyInto

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"`

	// DisableBundledCSIDrivers disables automatic deployment of CSI drivers bundled with KubeOne
	DisableBundledCSIDrivers bool `json:"disableBundledCSIDrivers"`

	// CloudConfig
	CloudConfig string `json:"cloudConfig,omitempty"`

	// CSIConfig
	CSIConfig string `json:"csiConfig,omitempty"`

	// SecretProviderClassName
	SecretProviderClassName string `json:"secretProviderClassName,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"`

	// Nutanix
	Nutanix *NutanixSpec `json:"nutanix,omitempty"`

	// Openstack
	Openstack *OpenstackSpec `json:"openstack,omitempty"`

	// EquinixMetal
	EquinixMetal *EquinixMetalSpec `json:"equinixmetal,omitempty"`

	// VMware Cloud Director
	VMwareCloudDirector *VMwareCloudDirectorSpec `json:"vmwareCloudDirector,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.

func (*CloudProviderSpec) Name added in v1.6.0

func (cps *CloudProviderSpec) Name() string

type ClusterNetworkConfig

type ClusterNetworkConfig struct {
	// PodSubnet
	// default value is "10.244.0.0/16"
	PodSubnet string `json:"podSubnet,omitempty"`

	// PodSubnetIPv6
	// default value is ""fd01::/48""
	PodSubnetIPv6 string `json:"podSubnetIPv6,omitempty"`

	// ServiceSubnet
	// default value is "10.96.0.0/12"
	ServiceSubnet string `json:"serviceSubnet,omitempty"`

	// ServiceSubnetIPv6
	// default value is "fd02::/120"
	ServiceSubnetIPv6 string `json:"serviceSubnetIPv6,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"`

	// IPFamily allows specifying IP family of a cluster.
	// Valid values are IPv4 | IPv6 | IPv4+IPv6 | IPv6+IPv4.
	IPFamily IPFamily `json:"ipFamily,omitempty"`

	// NodeCIDRMaskSizeIPv4 is the mask size used to address the nodes within provided IPv4 Pods CIDR. It has to be larger than the provided IPv4 Pods CIDR. Defaults to 24.
	NodeCIDRMaskSizeIPv4 *int `json:"nodeCIDRMaskSizeIPv4,omitempty"`

	// NodeCIDRMaskSizeIPv6 is the mask size used to address the nodes within provided IPv6 Pods CIDR. It has to be larger than the provided IPv6 Pods CIDR. Defaults to 64.
	NodeCIDRMaskSizeIPv6 *int `json:"nodeCIDRMaskSizeIPv6,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

type ContainerRuntimeConfig struct {
	// Dockerd related configurations
	Docker *ContainerRuntimeDocker `json:"docker,omitempty"`

	// Containerd related configurations
	Containerd *ContainerRuntimeContainerd `json:"containerd,omitempty"`
}

ContainerRuntimeConfig

func (*ContainerRuntimeConfig) DeepCopy

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

func (*ContainerRuntimeConfig) DeepCopyInto

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

type ContainerRuntimeContainerd struct {
	// A map of registries to use to render configs and mirrors for containerd registries
	Registries map[string]ContainerdRegistry `json:"registries,omitempty"`
}

ContainerRuntimeContainerd defines docker container runtime

func (*ContainerRuntimeContainerd) DeepCopy

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

func (*ContainerRuntimeContainerd) DeepCopyInto

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

type ContainerRuntimeDocker

type ContainerRuntimeDocker struct {
	// Configures dockerd with "registry-mirrors"
	RegistryMirrors []string `json:"registryMirrors"`
}

ContainerRuntimeDocker defines docker container runtime

func (*ContainerRuntimeDocker) DeepCopy

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

func (*ContainerRuntimeDocker) DeepCopyInto

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

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

type ContainerdRegistry

type ContainerdRegistry struct {
	// List of registry mirrors to use
	Mirrors []string `json:"mirrors,omitempty"`

	// TLSConfig for the registry
	TLSConfig *ContainerdTLSConfig `json:"tlsConfig,omitempty"`

	// Registry authentication
	Auth *ContainerdRegistryAuthConfig `json:"auth,omitempty"`
}

ContainerdRegistry defines endpoints and security for given container registry

func (*ContainerdRegistry) DeepCopy

func (in *ContainerdRegistry) DeepCopy() *ContainerdRegistry

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

func (*ContainerdRegistry) DeepCopyInto

func (in *ContainerdRegistry) DeepCopyInto(out *ContainerdRegistry)

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

type ContainerdRegistryAuthConfig

type ContainerdRegistryAuthConfig struct {
	Username      string `json:"username,omitempty"`
	Password      string `json:"password,omitempty"`
	Auth          string `json:"auth,omitempty"`
	IdentityToken string `json:"identityToken,omitempty"`
}

Containerd per-registry credentials config

func (*ContainerdRegistryAuthConfig) DeepCopy

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

func (*ContainerdRegistryAuthConfig) DeepCopyInto

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

type ContainerdTLSConfig

type ContainerdTLSConfig struct {
	// Don't validate remote TLS certificate
	InsecureSkipVerify bool `json:"insecureSkipVerify,omitempty"`
}

Configures containerd TLS for a registry

func (*ContainerdTLSConfig) DeepCopy

func (in *ContainerdTLSConfig) DeepCopy() *ContainerdTLSConfig

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

func (*ContainerdTLSConfig) DeepCopyInto

func (in *ContainerdTLSConfig) DeepCopyInto(out *ContainerdTLSConfig)

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 CoreDNS added in v1.5.0

type CoreDNS struct {
	Replicas                  *int32 `json:"replicas,omitempty"`
	DeployPodDisruptionBudget *bool  `json:"deployPodDisruptionBudget,omitempty"`

	// ImageRepository allows users to specify the image registry to be used
	// for CoreDNS. Kubeadm automatically appends `/coredns` at the end, so it's
	// not necessary to specify it.
	// By default it's empty, which means it'll be defaulted based on kubeadm
	// defaults and if overwriteRegistry feature is used.
	// ImageRepository has the highest priority, meaning that it'll override
	// overwriteRegistry if specified.
	ImageRepository string `json:"imageRepository,omitempty"`
}

func (*CoreDNS) DeepCopy added in v1.5.0

func (in *CoreDNS) DeepCopy() *CoreDNS

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

func (*CoreDNS) DeepCopyInto added in v1.5.0

func (in *CoreDNS) DeepCopyInto(out *CoreDNS)

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

type EncryptionProviders struct {
	// Enable
	Enable bool `json:"enable"`

	// CustomEncryptionConfiguration
	CustomEncryptionConfiguration string `json:"customEncryptionConfiguration"`
}

Encryption Providers feature flag

func (*EncryptionProviders) DeepCopy

func (in *EncryptionProviders) DeepCopy() *EncryptionProviders

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

func (*EncryptionProviders) DeepCopyInto

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

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

type EquinixMetalSpec

type EquinixMetalSpec struct{}

EquinixMetalSpec defines the Equinix Metal cloud provider

func (*EquinixMetalSpec) DeepCopy

func (in *EquinixMetalSpec) DeepCopy() *EquinixMetalSpec

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

func (*EquinixMetalSpec) DeepCopyInto

func (in *EquinixMetalSpec) DeepCopyInto(out *EquinixMetalSpec)

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 {
	// CoreDNS
	CoreDNS *CoreDNS `json:"coreDNS,omitempty"`

	// PodNodeSelector
	PodNodeSelector *PodNodeSelector `json:"podNodeSelector,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"`

	// NodeLocalDNS config
	NodeLocalDNS *NodeLocalDNS `json:"nodeLocalDNS,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 HelmRelease added in v1.6.0

type HelmRelease struct {
	// Chart is [CHART] part of the `helm upgrade [RELEASE] [CHART]` command.
	Chart string `json:"chart"`

	// RepoURL is a chart repository URL where to locate the requested chart.
	RepoURL string `json:"repoURL,omitempty"`

	// ChartURL is a direct chart URL location.
	ChartURL string `json:"chartURL,omitempty"`

	// Version is --version flag of the `helm upgrade` command. Specify the exact chart version to use. If this is not
	// specified, the latest version is used.
	Version string `json:"version,omitempty"`

	// ReleaseName is [RELEASE] part of the `helm upgrade [RELEASE] [CHART]` command. Empty is defaulted to chart.
	ReleaseName string `json:"releaseName,omitempty"`

	// Namespace is --namespace flag of the `helm upgrade` command. A namespace to use for a release.
	Namespace string `json:"namespace"`

	// Values provide optional overrides of the helm values.
	Values []HelmValues `json:"values,omitempty"`
}

func (*HelmRelease) DeepCopy added in v1.6.0

func (in *HelmRelease) DeepCopy() *HelmRelease

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

func (*HelmRelease) DeepCopyInto added in v1.6.0

func (in *HelmRelease) DeepCopyInto(out *HelmRelease)

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

type HelmValues added in v1.6.0

type HelmValues struct {
	// ValuesFile is an optional path on the local file system containing helm values to override. An analog of --values
	// flag of the `helm upgrade` command.
	ValuesFile string `json:"valuesFile,omitempty"`

	// Inline is optionally used as a convenient way to provide short user input overrides to the helm upgrade process.
	// Is written to a temporary file and used as an analog of the `helm upgrade --values=/tmp/inline-helm-values-XXX`
	// command.
	Inline json.RawMessage `json:"inline,omitempty"`
}

HelmValues configure inputs to `helm upgrade --install` command analog.

func (*HelmValues) DeepCopy added in v1.6.0

func (in *HelmValues) DeepCopy() *HelmValues

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

func (*HelmValues) DeepCopyInto added in v1.6.0

func (in *HelmValues) DeepCopyInto(out *HelmValues)

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"`

	// IPv6Addresses is IPv6 addresses of the node, only the first one will be announced to the k8s control plane.
	// It is a list because you can request lots of IPv6 addresses (for example in case you want to assign one address per service).
	IPv6Addresses []string `json:"ipv6Addresses"`

	// 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"`

	// SSHHostPublicKey if not empty, will be used to verify remote host public key
	SSHHostPublicKey []byte `json:"sshHostPublicKey,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"`

	// BastionHostPublicKey if not empty, will be used to verify bastion SSH public key
	BastionHostPublicKey []byte `json:"bastionHostPublicKey,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. Those taints are only applied when the node is being provisioned.
	// 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"`

	// Labels to be used to apply (or remove, with minus symbol suffix, see more kubectl help label) labels to/from node
	Labels map[string]string `json:"labels,omitempty"`

	// Kubelet
	Kubelet KubeletConfig `json:"kubelet,omitempty"`

	// OperatingSystem information, can be populated at the runtime.
	OperatingSystem OperatingSystemName `json:"operatingSystem,omitempty"`
}

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 IPFamily added in v1.6.0

type IPFamily string

IPFamily allows specifying IP family of a cluster. Valid values are IPv4 | IPv6 | IPv4+IPv6 | IPv6+IPv4.

const (
	// IPFamilyIPv4 IPv4 only cluster.
	IPFamilyIPv4 IPFamily = "IPv4"
	// IPFamilyIPv6 IPv6 only cluster.
	IPFamilyIPv6 IPFamily = "IPv6"
	// IPFamilyIPv4IPv6 Dualstack cluster with IPv4 as primary address family.
	IPFamilyIPv4IPv6 IPFamily = "IPv4+IPv6"
	// IPFamilyIPv6IPv4 Dualstack cluster with IPv6 as primary address family.
	IPFamilyIPv6IPv4 IPFamily = "IPv6+IPv4"
)

type IPTables

type IPTables struct{}

IPTables

func (*IPTables) DeepCopy

func (in *IPTables) DeepCopy() *IPTables

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

func (*IPTables) DeepCopyInto

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

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

func (in *IPVSConfig) DeepCopy() *IPVSConfig

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

func (*IPVSConfig) DeepCopyInto

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

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

func (in *ImageAsset) DeepCopy() *ImageAsset

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

func (*ImageAsset) DeepCopyInto

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"`

	// OperatingSystemManager configures the Kubermatic operating-system-manager component.
	OperatingSystemManager *OperatingSystemManagerConfig `json:"operatingSystemManager,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"`

	// HelmReleases configure helm charts to reconcile. For each HelmRelease it will run analog of: `helm upgrade
	// --namespace <NAMESPACE> --install --create-namespace <RELEASE> <CHART> [--values=values-override.yaml]`
	HelmReleases []HelmRelease `json:"helmReleases,omitempty"`

	// SystemPackages configure kubeone behaviour regarding OS packages.
	SystemPackages *SystemPackages `json:"systemPackages,omitempty"`

	// RegistryConfiguration configures how Docker images are pulled from an image registry
	RegistryConfiguration *RegistryConfiguration `json:"registryConfiguration,omitempty"`

	// LoggingConfig configures the Kubelet's log rotation
	LoggingConfig LoggingConfig `json:"loggingConfig,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

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

func (in *KubeProxyConfig) DeepCopy() *KubeProxyConfig

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

func (*KubeProxyConfig) DeepCopyInto

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

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

type KubeletConfig

type KubeletConfig struct {
	// SystemReserved configure --system-reserved command-line flag of the kubelet.
	// See more at: https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/
	SystemReserved map[string]string `json:"systemReserved,omitempty"`

	// KubeReserved configure --kube-reserved command-line flag of the kubelet.
	// See more at: https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/
	KubeReserved map[string]string `json:"kubeReserved,omitempty"`

	// EvictionHard configure --eviction-hard command-line flag of the kubelet.
	// See more at: https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/
	EvictionHard map[string]string `json:"evictionHard,omitempty"`

	// MaxPods configures maximum number of pods per node.
	// If not provided, default value provided by kubelet will be used
	// (max. 110 pods per node)
	MaxPods *int32 `json:"maxPods,omitempty"`
}

KubeletConfig provides some kubelet configuration options

func (*KubeletConfig) DeepCopy

func (in *KubeletConfig) DeepCopy() *KubeletConfig

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

func (*KubeletConfig) DeepCopyInto

func (in *KubeletConfig) DeepCopyInto(out *KubeletConfig)

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

type LoggingConfig

type LoggingConfig struct {
	// ContainerLogMaxSize configures the maximum size of container log file before it is rotated
	// See more at: https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/
	ContainerLogMaxSize string `json:"containerLogMaxSize,omitempty"`

	// ContainerLogMaxFiles configures the maximum number of container log files that can be present for a container
	// See more at: https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/
	ContainerLogMaxFiles int32 `json:"containerLogMaxFiles,omitempty"`
}

LoggingConfig configures the Kubelet's log rotation

func (*LoggingConfig) DeepCopy

func (in *LoggingConfig) DeepCopy() *LoggingConfig

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

func (*LoggingConfig) DeepCopyInto

func (in *LoggingConfig) DeepCopyInto(out *LoggingConfig)

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

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 NodeLocalDNS added in v1.5.1

type NodeLocalDNS struct {
	// Deploy is enabled by default
	Deploy bool `json:"deploy,omitempty"`
}

func (*NodeLocalDNS) DeepCopy added in v1.5.1

func (in *NodeLocalDNS) DeepCopy() *NodeLocalDNS

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

func (*NodeLocalDNS) DeepCopyInto added in v1.5.1

func (in *NodeLocalDNS) DeepCopyInto(out *NodeLocalDNS)

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 NutanixSpec

type NutanixSpec struct{}

NutanixSpec defines the Nutanix provider

func (*NutanixSpec) DeepCopy

func (in *NutanixSpec) DeepCopy() *NutanixSpec

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

func (*NutanixSpec) DeepCopyInto

func (in *NutanixSpec) DeepCopyInto(out *NutanixSpec)

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,omitempty"`

	// UsernameClaim
	UsernameClaim string `json:"usernameClaim,omitempty"`

	// UsernamePrefix. The value `-` can be used to disable all prefixing.
	UsernamePrefix string `json:"usernamePrefix,omitempty"`

	// GroupsClaim
	GroupsClaim string `json:"groupsClaim,omitempty"`

	// GroupsPrefix. The value `-` can be used to disable all prefixing.
	GroupsPrefix string `json:"groupsPrefix,omitempty"`

	// RequiredClaim
	RequiredClaim string `json:"requiredClaim"`

	// SigningAlgs
	SigningAlgs string `json:"signingAlgs,omitempty"`

	// 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 OperatingSystemManagerConfig added in v1.5.0

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

OperatingSystemManagerConfig configures kubermatic operating-system-manager deployment.

func (*OperatingSystemManagerConfig) DeepCopy added in v1.5.0

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

func (*OperatingSystemManagerConfig) DeepCopyInto added in v1.5.0

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"
	OperatingSystemNameRockyLinux OperatingSystemName = "rockylinux"
	OperatingSystemNameAmazon     OperatingSystemName = "amzn"
	OperatingSystemNameFlatcar    OperatingSystemName = "flatcar"
	OperatingSystemNameUnknown    OperatingSystemName = ""
)

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 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
	// as a way to annotate resulting Nodes
	// Deprecated: Use NodeAnnotations instead.
	MachineAnnotations map[string]string `json:"machineAnnotations,omitempty"`

	// NodeAnnotations set MachineDeployment.Spec.Template.Spec.ObjectMeta.Annotations
	// as a way to annotate resulting Nodes
	NodeAnnotations map[string]string `json:"nodeAnnotations,omitempty"`

	// MachineObjectAnnotations set MachineDeployment.Spec.Template.Metadata.Annotations
	// as a way to annotate resulting Machine objects. Those annotations are not
	// propagated to Node objects. If you want to annotate resulting Nodes as well,
	// see NodeAnnotations
	MachineObjectAnnotations map[string]string `json:"machineObjectAnnotations,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"`

	// IPFamily
	IPFamily IPFamily `json:"ipFamily"`
}

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

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

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

func (*RegistryConfiguration) DeepCopyInto

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 VMwareCloudDirectorSpec added in v1.5.0

type VMwareCloudDirectorSpec struct {
	// VApp is the name of vApp for VMs.
	VApp string `json:"vApp,omitempty"`

	// StorageProfile is the name of storage profile to be used for disks.
	StorageProfile string `json:"storageProfile"`
}

VMwareCloudDirectorSpec defines the VMware Cloud Director provider

func (*VMwareCloudDirectorSpec) DeepCopy added in v1.5.0

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

func (*VMwareCloudDirectorSpec) DeepCopyInto added in v1.5.0

func (in *VMwareCloudDirectorSpec) DeepCopyInto(out *VMwareCloudDirectorSpec)

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