operator

package
v4.0.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: Apache-2.0 Imports: 58 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderBootstrap

func RenderBootstrap(
	clusterConfigConfigMapFile string,
	infraFile, networkFile string,
	etcdCAFile, rootCAFile string, kubeCAFile string, pullSecretFile string,
	imgs Images,
	destinationDir string,
) error

RenderBootstrap writes to destinationDir static Pods.

Types

type Images

type Images struct {
	MachineConfigController string `json:"machineConfigController"`
	MachineConfigDaemon     string `json:"machineConfigDaemon"`
	MachineConfigServer     string `json:"machineConfigServer"`
	MachineOSContent        string `json:"machineOSContent"`
	Etcd                    string `json:"etcd"`
	SetupEtcdEnv            string `json:"setupEtcdEnv"`
	InfraImage              string `json:"infraImage"`
}

This data is derived from what github.com/openshift/installer's bootkube.sh provides. If you want to add a new image, you need to "ratchet" the change as follows:

Add the image here and also a CLI option with a default value Change the installer to pass that arg with the image from the CVO (some time later) Change the option to required and drop the default

type Operator

type Operator struct {
	// contains filtered or unexported fields
}

Operator defines machince config operator.

func New

New returns a new machine config operator.

func (*Operator) Run

func (optr *Operator) Run(workers int, stopCh <-chan struct{})

Run runs the machine config operator.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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