esgateway

package
v1.45.0-0.dev Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeploymentName        = "tigera-secure-es-gateway"
	ServiceAccountName    = "tigera-secure-es-gateway"
	RoleName              = "tigera-secure-es-gateway"
	ServiceName           = "tigera-secure-es-gateway-http"
	PolicyName            = networkpolicy.CalicoComponentPolicyPrefix + "es-gateway-access"
	ElasticsearchPortName = "es-gateway-elasticsearch-port"
	KibanaPortName        = "es-gateway-kibana-port"
	Port                  = 5554

	ElasticsearchHTTPSEndpoint = "https://tigera-secure-es-http.tigera-elasticsearch.svc:9200"

	KibanaHTTPSEndpoint = "https://tigera-secure-kb-http.tigera-kibana.svc:5601"

	CloudPolicyName = networkpolicy.CalicoComponentPolicyPrefix + "cloud-es-gateway-access"
)

Variables

This section is empty.

Functions

func EsGateway

func EsGateway(c *Config) render.Component

Types

type CloudConfig

type CloudConfig struct {
	Enabled              bool
	EsAdminUserSecret    *corev1.Secret
	ExternalCertsSecret  *corev1.Secret
	TenantID             string
	EnableMTLS           bool
	ExternalElastic      bool
	ExternalESDomain     string
	ExternalKibanaDomain string
}

CloudConfig holds Calico Cloud specific es-gateway configuration. Enabled gates all cloud behavior: when false (regular Calico/Calico Enterprise) the cloud decorators are no-ops.

type Config added in v1.22.0

type Config struct {
	Installation               *operatorv1.InstallationSpec
	PullSecrets                []*corev1.Secret
	KubeControllersUserSecrets []*corev1.Secret
	ESGatewayKeyPair           certificatemanagement.KeyPairInterface
	TrustedBundle              certificatemanagement.TrustedBundleRO
	ClusterDomain              string
	EsAdminUserName            string
	Namespace                  string
	TruthNamespace             string
	LogStorage                 *operatorv1.LogStorage
	// Cloud holds Calico Cloud specific configuration. Inert unless Cloud.Enabled is set.
	Cloud CloudConfig
}

Config contains all the config information needed to render the EsGateway component.

Jump to

Keyboard shortcuts

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