Documentation ¶
Index ¶
- Constants
- Variables
- func CustomSignerWithExpiry(customSignerName string, caKey, caData []byte, duration time.Duration) agent.CSRSignerFunc
- func GetClusterProxyValueFunc(runtimeClient client.Client, nativeClient kubernetes.Interface, ...) addonfactory.GetValuesFunc
- func NewAgentAddon(signer selfsigned.SelfSigner, signerNamespace string, v1CSRSupported bool, ...) (agent.AgentAddon, error)
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 ¶
View Source
var FS embed.FS
Functions ¶
func CustomSignerWithExpiry ¶ added in v0.1.4
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.
Click to show internal directories.
Click to hide internal directories.