config

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Core gRPC default address and certificate paths
	DefaultCoreGrpcAddress        = "core-grpc.nico-system.svc.cluster.local:1079"
	DefaultCoreGrpcCACertPath     = "/etc/core-grpc/ca.crt"
	DefaultCoreGrpcClientCertPath = "/etc/core-grpc/tls.crt"
	DefaultCoreGrpcClientKeyPath  = "/etc/core-grpc/tls.key"

	// Flow uses the same SPIFFE trust domain (core-grpc.local) and vault-core-grpc-issuer as Core gRPC,
	// so we can reuse the Core gRPC certificates for mTLS with Flow gRPC.
	DefaultFlowGrpcAddress        = "flow.flow.svc.cluster.local:50051"
	DefaultFlowGrpcCACertPath     = "/etc/core-grpc/ca.crt"
	DefaultFlowGrpcClientCertPath = "/etc/core-grpc/tls.crt"
	DefaultFlowGrpcClientKeyPath  = "/etc/core-grpc/tls.key"
)

Variables

This section is empty.

Functions

func NewElektraConfig

func NewElektraConfig(utMode bool) *conftypes.Config

NewElektraConfig reads configurations from env variables and returns

Types

This section is empty.

Jump to

Keyboard shortcuts

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