images

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 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"

	// HiveClusterProvisionImagePullPolicyEnvVar = "HIVE_CLUSTER_PROVISION_IMAGE_PULL_POLICY"
	// This pull policy differs from the pull policy used by the Hive operator as a temporary
	// mitigation in the event the container registry serving the image is unavailable.
	// ClusterProvisions should continue to function pulling the Hive image from the local cache.
	HiveClusterProvisionImagePullPolicyEnvVar = "HIVE_CLUSTER_PROVISION_IMAGE_PULL_POLICY"
)

Variables

This section is empty.

Functions

func GetHiveClusterProvisionImagePullPolicy added in v1.1.2

func GetHiveClusterProvisionImagePullPolicy() corev1.PullPolicy

GetHiveClusterProvisionImagePullPolicy returns the policy to use when pulling the hive image for the ClusterProvision pod. Either the one specified in the environment variable or the hardcoded default.

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