config

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "kourier"

	InternalServiceName = "kourier-internal"
	ExternalServiceName = "kourier"

	HTTPPortExternal  = uint32(8080)
	HTTPPortInternal  = uint32(8081)
	HTTPSPortExternal = uint32(8443)

	InternalKourierDomain = "internalkourier"

	GatewayNamespaceEnv = "KOURIER_GATEWAY_NAMESPACE"

	KourierIngressClassName = "kourier.ingress.networking.knative.dev"
)

Variables

View Source
var ExternalAuthz = &ExternalAuthzConfig{
	Enabled: false,
}

Functions

func GatewayNamespace added in v0.19.0

func GatewayNamespace() string

func ServiceHostnames added in v0.19.0

func ServiceHostnames() (string, string)

ServiceHostnames returns the external and internal service's respective hostname.

Example: kourier.kourier-system.svc.cluster.local.

Types

type ExternalAuthzConfig added in v0.19.0

type ExternalAuthzConfig struct {
	Enabled    bool
	Cluster    *v2.Cluster
	HTTPFilter *httpconnectionmanagerv2.HttpFilter
}

Jump to

Keyboard shortcuts

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