config

package
v1.30.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscoveryOptions added in v1.23.0

type DiscoveryOptions struct {
	// Enabled specifies whether support for discovery population is enabled.
	Enabled bool `json:"enabled"`
}

DiscoveryOptions configures our support for discovery, particularly gossip DNS (i.e. k8s.local)

type Options

type Options struct {
	ClusterName           string         `json:"clusterName,omitempty"`
	Cloud                 string         `json:"cloud,omitempty"`
	ConfigBase            string         `json:"configBase,omitempty"`
	SecretStore           string         `json:"secretStore,omitempty"`
	Server                *ServerOptions `json:"server,omitempty"`
	CacheNodeidentityInfo bool           `json:"cacheNodeidentityInfo,omitempty"`

	// EnableCloudIPAM enables the cloud IPAM controller.
	EnableCloudIPAM bool `json:"enableCloudIPAM,omitempty"`

	// Discovery configures options relating to discovery, particularly for gossip mode.
	Discovery *DiscoveryOptions `json:"discovery,omitempty"`
}

func (*Options) PopulateDefaults

func (o *Options) PopulateDefaults()

type ServerOptions added in v1.19.0

type ServerOptions struct {
	// Listen is the network endpoint (ip and port) we should listen on.
	Listen string

	// Provider is the cloud provider.
	Provider ServerProviderOptions `json:"provider"`

	// PKI configures private/public key node authentication.
	PKI *pkibootstrap.Options `json:"pki,omitempty"`

	// ServerKeyPath is the path to our TLS serving private key.
	ServerKeyPath string `json:"serverKeyPath,omitempty"`
	// ServerCertificatePath is the path to our TLS serving certificate.
	ServerCertificatePath string `json:"serverCertificatePath,omitempty"`

	// CABasePath is a base of the path to CA certificate and key files.
	CABasePath string `json:"caBasePath"`
	// SigningCAs is the list of active signing CAs.
	SigningCAs []string `json:"signingCAs"`
	// CertNames is the list of active certificate names.
	CertNames []string `json:"certNames"`
}

type ServerProviderOptions added in v1.19.0

type ServerProviderOptions struct {
	AWS          *awsup.AWSVerifierOptions           `json:"aws,omitempty"`
	GCE          *gcetpm.TPMVerifierOptions          `json:"gce,omitempty"`
	Hetzner      *hetzner.HetznerVerifierOptions     `json:"hetzner,omitempty"`
	OpenStack    *openstack.OpenStackVerifierOptions `json:"openstack,omitempty"`
	DigitalOcean *do.DigitalOceanVerifierOptions     `json:"do,omitempty"`
	Scaleway     *scaleway.ScalewayVerifierOptions   `json:"scaleway,omitempty"`
	Azure        *azure.AzureVerifierOptions         `json:"azure,omitempty"`
}

Jump to

Keyboard shortcuts

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