images

package
v1.0.19 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: Apache-2.0 Imports: 2 Imported by: 4

Documentation

Index

Constants

View Source
const (
	// HiveImageEnvVar is the optional environment variable that overrides the image to use
	// for provisioning/deprovisioning. Typically this is the same image used by the hive
	// operator and is set as an EnvVar on the deployment.
	HiveImageEnvVar = "HIVE_IMAGE"

	// DefaultHiveImage is the image to use for hive when an image is not specified via the
	// environment variable
	DefaultHiveImage = "registry.ci.openshift.org/openshift/hive-v4.0:hive"

	// HiveImagePullPolicyEnvVar is the optional environment variable that overrides
	// the pull policy to use for pulling the hive image. Typically this is the same
	// pull policy used by the the hive operator and is set as an EnvVar on the deployment.
	HiveImagePullPolicyEnvVar = "HIVE_IMAGE_PULL_POLICY"
)

Variables

This section is empty.

Functions

func GetHiveImage

func GetHiveImage() string

GetHiveImage returns the hive image to use in controllers. Either the one specified in the environment variable or the hardcoded default.

func GetHiveImagePullPolicy

func GetHiveImagePullPolicy() corev1.PullPolicy

GetHiveImagePullPolicy returns the policy to use when pulling the hive image. Either the one specified in the environment variable or the hardcoded default.

Types

This section is empty.

Jump to

Keyboard shortcuts

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