linseed

package
v1.32.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DeploymentName                                  = "tigera-linseed"
	ServiceAccountName                              = "tigera-linseed"
	PodSecurityPolicyName                           = "tigera-linseed"
	PolicyName                                      = networkpolicy.TigeraComponentPolicyPrefix + "linseed-access"
	PortName                                        = "tigera-linseed"
	TargetPort                                      = 8444
	Port                                            = 443
	ClusterRoleName                                 = "tigera-linseed"
	MultiTenantManagedClustersAccessClusterRoleName = "tigera-linseed-managed-cluster-access"
)

Variables

This section is empty.

Functions

func Linseed

func Linseed(c *Config) render.Component

Types

type Config

type Config struct {
	// CustomResources provided by the user.
	Installation *operatorv1.InstallationSpec

	// Pull secrets provided by the user.
	PullSecrets []*corev1.Secret

	// Keypair to use for asserting Linseed's identity.
	KeyPair certificatemanagement.KeyPairInterface

	// Keypair to use for signing tokens.
	TokenKeyPair certificatemanagement.KeyPairInterface

	// Trusted bundle to use when validating client certificates.
	TrustedBundle certificatemanagement.TrustedBundleRO

	// ClusterDomain to use when building service URLs.
	ClusterDomain string

	// Whether this is a management cluster
	ManagementCluster bool

	// Whether the cluster supports pod security policies.
	UsePSP bool

	// Elastic cluster configuration
	ESClusterConfig *relasticsearch.ClusterConfig

	// Indicates whether DPI is installed in the cluster or not
	HasDPIResource bool

	// Namespace to install into.
	Namespace string

	// Namespaces to which we must bind the Linseed cluster role.
	BindNamespaces []string

	// Tenant configuration, if running for a particular tenant.
	Tenant *operatorv1.Tenant
}

Config contains all the information needed to render the Linseed component.

Jump to

Keyboard shortcuts

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