constants

package
v0.37.2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SettingsConfigMapName is the name of the configmap used to hold eventing-nats settings
	SettingsConfigMapName = "config-nats"

	// SettingsConfigMapMountPath is the mount path of the configmap used to hold eventing-nats settings
	SettingsConfigMapMountPath = "/etc/" + SettingsConfigMapName

	// EventingNatsSettingsConfigKey is an entry of the SettingsConfigMapName configmap.
	EventingNatsSettingsConfigKey = "eventing-nats"

	// ConfigMapHashAnnotationKey is an annotation is used by the controller to track updates
	// to config-nats and apply them in the dispatcher deployment
	ConfigMapHashAnnotationKey = "jetstream.eventing.knative.dev/configmap-hash"

	// KnativeConfigMapEventingRole is the role granting workloads access to read configmaps and leases within the
	// knative-eventing namespace. This must be bound to namespace-scoped dispatchers in order for it to function.
	KnativeConfigMapEventingRole = "jetstream-ch-dispatcher-eventing"

	// DefaultNatsURL is derived from the installation documentation which defaults to this service name within the
	// nats-io namespace.
	DefaultNatsURL = "nats://nats.nats-io.svc.cluster.local"

	// DefaultCredentialFileSecretKey is the key within the data section of the "Credentials File" Secret.
	DefaultCredentialFileSecretKey = "nats.creds"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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