config

package
v0.12.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdConfig

type EtcdConfig struct {
	InitialCluster          string            `yaml:"initial-cluster"`
	ClientTransportSecurity TransportSecurity `yaml:"client-transport-security"`
	PeerTransportSecurity   TransportSecurity `yaml:"peer-transport-security"`
}

EtcdConfig describes ETCD configuration values.

type KPClientConnection added in v0.5.0

type KPClientConnection struct {
	Kubeconfig string `yaml:"kubeconfig" json:"kubeconfig"`
}

KPClientConnection describes kube-proxy configuration values for client connection.

type KubeProxyConfig added in v0.5.0

type KubeProxyConfig struct {
	ClientConnection KPClientConnection `yaml:"clientConnection" json:"clientConnection"`
	FeatureGates     map[string]bool    `yaml:"featureGates" json:"featureGates"`
}

KubeProxyConfig describes kube-proxy configuration values.

type KubeletAnonymousAuthentication

type KubeletAnonymousAuthentication struct {
	Enabled *bool `yaml:"enabled" json:"enabled"`
}

KubeletAnonymousAuthentication describes kubelet configuration values for anonymous authentication.

type KubeletAuthentication

type KubeletAuthentication struct {
	Anonymous KubeletAnonymousAuthentication `yaml:"anonymous" json:"anonymous"`
	X509      KubeletX509Authentication      `yaml:"x509" json:"x509"`
}

KubeletAuthentication describes kubelet configuration values for authentication mechanisms.

type KubeletAuthorization

type KubeletAuthorization struct {
	Mode *string `yaml:"mode" json:"mode"`
}

KubeletAuthorization describes kubelet configuration values for authorization mechanisms.

type KubeletConfig

type KubeletConfig struct {
	Authentication                 KubeletAuthentication `yaml:"authentication" json:"authentication"`
	Authorization                  KubeletAuthorization  `yaml:"authorization" json:"authorization"`
	MaxPods                        *int32                `yaml:"maxPods" json:"maxPods"`
	ReadOnlyPort                   *int32                `yaml:"readOnlyPort" json:"readOnlyPort"`
	ServerTLSBootstrap             *bool                 `yaml:"serverTLSBootstrap" json:"serverTLSBootstrap"`
	StaticPodPath                  *string               `yaml:"staticPodPath" json:"staticPodPath"`
	TLSPrivateKeyFile              *string               `yaml:"tlsPrivateKeyFile" json:"tlsPrivateKeyFile"`
	TLSCertFile                    *string               `yaml:"tlsCertFile" json:"tlsCertFile"`
	FeatureGates                   map[string]bool       `yaml:"featureGates" json:"featureGates"`
	ProtectKernelDefaults          *bool                 `yaml:"protectKernelDefaults" json:"protectKernelDefaults"`
	StreamingConnectionIdleTimeout *string               `yaml:"streamingConnectionIdleTimeout" json:"streamingConnectionIdleTimeout"`
}

KubeletConfig describes kubelet configuration values.

type KubeletX509Authentication

type KubeletX509Authentication struct {
	ClientCAFile *string `yaml:"clientCAFile" json:"clientCAFile"`
}

KubeletX509Authentication describes kubelet configuration values for x509 client certificate authentication.

type Mount

type Mount struct {
	Destination string   `json:"destination"`
	Type        string   `json:"type"`
	Source      string   `json:"source"`
	Options     []string `json:"options"`
}

Mount is the .Spec.mount field of a container.

type NodeConfigz

type NodeConfigz struct {
	KubeletConfig KubeletConfig `yaml:"kubeletconfig" json:"kubeletconfig"`
}

NodeConfigz contains the runtime kubelet config.

type TransportSecurity

type TransportSecurity struct {
	AutoTLS  *bool   `yaml:"auto-tls"`
	CertAuth *bool   `yaml:"client-cert-auth"`
	CertFile *string `yaml:"cert-file"`
	KeyFile  *string `yaml:"key-file"`
}

TransportSecurity is the transport security configuration in an ETCD configuration.

Jump to

Keyboard shortcuts

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