operator

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderBootstrap

func RenderBootstrap(
	proxyFile,
	clusterConfigConfigMapFile,
	infraFile, networkFile,
	cloudConfigFile,
	etcdCAFile, etcdMetricCAFile, rootCAFile, kubeAPIServerServingCA, pullSecretFile string,
	imgs *Images,
	destinationDir string,
) error

RenderBootstrap writes to destinationDir static Pods.

Types

type ControllerConfigImages

type ControllerConfigImages struct {
	Etcd            string `json:"etcd"`
	SetupEtcdEnv    string `json:"setupEtcdEnv"`
	InfraImage      string `json:"infraImage"`
	KubeClientAgent string `json:"kubeClientAgentImage"`
}

ControllerConfigImages are image names used to render templates under ./templates/

type Images

Images contain data 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.

type RenderConfigImages

type RenderConfigImages struct {
	MachineConfigOperator   string `json:"machineConfigOperator"`
	MachineConfigController string `json:"machineConfigController"`
	MachineConfigDaemon     string `json:"machineConfigDaemon"`
	MachineConfigServer     string `json:"machineConfigServer"`
	MachineOSContent        string `json:"machineOSContent"`
}

RenderConfigImages are image names used to render templates under ./manifests/

Directories

Path Synopsis
Package assets Code generated by go-bindata.
Package assets Code generated by go-bindata.

Jump to

Keyboard shortcuts

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