enterprise

package
v1.1.0-beta33 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

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

Jump to

Keyboard shortcuts

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