kubeadm

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EncryptionProviderConfig = "/etc/kubernetes/admission-control/encryption-provider-config.yaml"
)

Variables

This section is empty.

Functions

func Reset

func Reset(out io.Writer) error

func SplitHostPort

func SplitHostPort(hostport, defaultPort string) (host, port string, err error)

func WriteEncryptionProviderConfig

func WriteEncryptionProviderConfig(out io.Writer, filename, kubernetesVersion, encryptionSecret string) error

WriteEncryptionProviderConfig creates configuration to encrypt Kubernetes secrets. If encryptionSecret is not provided, but the configuration is already in place secret will NOT be replaced with a newly generated one. Provided secret will always overwrite existing configuration. Pipeline sourced encryption secret uses this behaviour.

func WriteKubeadmAzureConfig

func WriteKubeadmAzureConfig(out io.Writer, filename, cloudProvider, tenantID, subnetName, securityGroupName, vnetName, vnetResourceGroup, vmType, loadBalancerSku, routeTableName string, excludeMasterFromStandardLB bool) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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