install

package
v0.0.0-...-2fbb0c7 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateInstallConfig

func GenerateInstallConfig(cd *hivev1.ClusterDeployment, sshKey, pullSecret string) (*types.InstallConfig, error)

GenerateInstallConfig builds an InstallConfig for the installer from our ClusterDeploymentSpec. The two types are extremely similar, but have different goals and in some cases deviation was required as ClusterDeployment is used as a CRD API.

It is assumed the caller will lookup the admin password and ssh key from their respective secrets.

func GenerateInstallerJob

func GenerateInstallerJob(
	cd *hivev1.ClusterDeployment,
	serviceAccountName string,
	sshKey string,
	pullSecret string) (*batchv1.Job, *corev1.ConfigMap, error)

GenerateInstallerJob creates a job to install an OpenShift cluster given a ClusterDeployment and an installer image.

func GenerateUninstallerJob

func GenerateUninstallerJob(
	cd *hivev1.ClusterDeployment) (*batchv1.Job, error)

GenerateUninstallerJob creates a job to uninstall an OpenShift cluster given a ClusterDeployment and an installer image.

func GetInstallJobName

func GetInstallJobName(cd *hivev1.ClusterDeployment) string

GetInstallJobName returns the expected name of the install job for a cluster deployment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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