Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultRelayAuthority = "enterprise-networking.gloo-mesh" DefaultRootCAName = "relay-root-tls-secret" DefaultClientCertName = "relay-client-tls-secret" DefaultTokenName = "relay-identity-token-secret" DefaultTokenSecretKey = "token" )
Variables ¶
This section is empty.
Functions ¶
func DeregisterCluster ¶ added in v1.0.0
func DeregisterCluster(ctx context.Context, opts RegistrationOptions) error
func RegisterCluster ¶ added in v1.0.0
func RegisterCluster(ctx context.Context, opts RegistrationOptions) error
registers a new cluster with the provided automation:
- creates relay certs if they don't exist
- runs agent pre install checks
Types ¶
type RegistrationOptions ¶ added in v1.0.0
type RegistrationOptions struct { registration.Options AgentChartPathOverride string AgentChartValuesPath string RelayServerAddress string RelayServerInsecure bool RootCASecretName string RootCASecretNamespace string ClientCertSecretName string ClientCertSecretNamespace string TokenSecretName string TokenSecretNamespace string TokenSecretKey string ReleaseName string SkipChecks bool }
func (*RegistrationOptions) GetInstaller ¶ added in v1.1.0
func (o *RegistrationOptions) GetInstaller(ctx context.Context, out io.Writer) (*helm.Installer, error)
construct the helm installer from the specified options
Click to show internal directories.
Click to hide internal directories.