agent

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ManagedClusterConfigurationName = "cluster-proxy"

	ProxyAgentSignerName = "open-cluster-management.io/proxy-agent-signer"
)
View Source
const (
	ApiserverNetworkProxyLabelAddon = "open-cluster-management.io/addon"
	AgentSecretName                 = "cluster-proxy-open-cluster-management.io-proxy-agent-signer-client-cert"
	AgentCASecretName               = "cluster-proxy-ca"
)

Variables

Functions

func CustomSignerWithExpiry added in v0.1.4

func CustomSignerWithExpiry(customSignerName string, caKey, caData []byte, duration time.Duration) agent.CSRSignerFunc

func GetClusterProxyValueFunc added in v0.1.4

func GetClusterProxyValueFunc(
	runtimeClient client.Client,
	nativeClient kubernetes.Interface,
	signerNamespace string,
	caCertData []byte,
	v1CSRSupported bool,
	enableKubeApiProxy bool,
) addonfactory.GetValuesFunc

func NewAgentAddon added in v0.1.4

func NewAgentAddon(
	signer selfsigned.SelfSigner,
	signerNamespace string,
	v1CSRSupported bool,
	runtimeClient client.Client,
	nativeClient kubernetes.Interface,
	enableKubeApiProxy bool,
	addonClient addonclient.Interface) (agent.AgentAddon, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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