env

package
v1.3.0-RC1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// INSTALL_CRD_ENV is the environment variable used to check if
	// CRDs need to be installed by NDM or not.
	INSTALL_CRD_ENV = "OPENEBS_IO_INSTALL_CRD"

	// IMAGE_PULL_SECRETS_ENV is the environment variable used to pass the image pull secrets
	IMAGE_PULL_SECRETS_ENV = "OPENEBS_IO_IMAGE_PULL_SECRETS"
)

Variables

This section is empty.

Functions

func GetOpenEBSImagePullSecrets added in v1.1.0

func GetOpenEBSImagePullSecrets() []v1.LocalObjectReference

GetOpenEBSImagePullSecrets is used to get the image pull secrets from the environment variable

func IsInstallCRDEnabled

func IsInstallCRDEnabled() bool

IsInstallCRDEnabled is used to check whether the CRDs need to be installed

Types

This section is empty.

Jump to

Keyboard shortcuts

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