run

package
v1.17.0-beta3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, secrets []server.Secret, sdsClient, sdsServerAddress string) error

func RunMain added in v1.15.21

func RunMain()

Types

type Config added in v1.15.21

type Config struct {
	SdsServerAddress string `split_words:"true" default:"0.0.0.0:8234"` //sds_config target_uri in the envoy instance that it provides secrets to
	SdsClient        string `split_words:"true"`

	PodName      string `split_words:"true"`
	PodNamespace string `split_words:"true"`

	GlooMtlsSdsEnabled    bool   `split_words:"true"`
	GlooMtlsSecretDir     string `split_words:"true" default:"/etc/envoy/ssl/"`
	GlooServerCert        string `split_words:"true" default:"server_cert"`
	GlooValidationContext string `split_words:"true" default:"validation_context"`

	IstioMtlsSdsEnabled    bool   `split_words:"true"`
	IstioCertDir           string `split_words:"true" default:"/etc/istio-certs/"`
	IstioServerCert        string `split_words:"true" default:"istio_server_cert"`
	IstioValidationContext string `split_words:"true" default:"istio_validation_context"`
}

Jump to

Keyboard shortcuts

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