openshift

package
v2.14.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const DockerCFGEnvKey = "OPENSHIFT_DOCKER_CFG"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DistUpgradeOnBoot bool `json:"distUpgradeOnBoot"`
}

Config contains CentOS specific settings. It's being used within the provider spec (Inside the MachineSpec)

type Provider

type Provider struct{}

Provider is a pkg/userdata.Provider implementation

func (Provider) UserData

func (p Provider) UserData(req plugin.UserDataRequest) (string, error)

UserData renders a cloud-init script to provision a worker OpenShift node The content of this cloud-init comes from the OpenShift machine-config-operator: https://github.com/openshift/machine-config-operator/tree/release-4.1/templates/worker

Jump to

Keyboard shortcuts

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