vault

package
v0.0.0-...-8944940 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (

	//EnvVaultAddr is the environment name for looking up the address of the Vault server
	EnvVaultAddr = "NAISD_VAULT_ADDR" //
	//EnvInitContainerImage is the environment name for looking up the init container to use
	EnvInitContainerImage = "NAISD_VAULT_INIT_CONTAINER_IMAGE"
	//EnvVaultAuthPath is the environment name for looking up the path to vault kubernetes auth backend
	EnvVaultAuthPath = "NAISD_VAULT_AUTH_PATH"
	//EnvVaultKVPath is the environment name for looking up the path to Vault KV mount
	EnvVaultKVPath = "NAISD_VAULT_KV_PATH"
	//EnvVaultEnabled is the environment name for looking up the enable/disable feature flag
	EnvVaultEnabled = "NAISD_VAULT_ENABLED"
)

Variables

This section is empty.

Functions

func Enabled

func Enabled() bool

Enabled checks if this Initalizer is enabled

Types

type Initializer

type Initializer interface {
	AddVaultContainers(podSpec *k8score.PodSpec) k8score.PodSpec
}

Initializer adds init containers

func NewInitializer

func NewInitializer(spec app.Spec, sidecar bool) (Initializer, error)

NewInitializer creates a new Initializer. Err if required env variables are not set.

Jump to

Keyboard shortcuts

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