-
Notifications
You must be signed in to change notification settings - Fork 409
/
images.go
30 lines (27 loc) · 1.18 KB
/
images.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package operator
// 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 Images struct {
RenderConfigImages
ControllerConfigImages
}
// RenderConfigImages are image names used to render templates under ./manifests/
type RenderConfigImages struct {
MachineConfigOperator string `json:"machineConfigOperator"`
MachineConfigController string `json:"machineConfigController"`
MachineConfigDaemon string `json:"machineConfigDaemon"`
MachineConfigServer string `json:"machineConfigServer"`
MachineOSContent string `json:"machineOSContent"`
}
// ControllerConfigImages are image names used to render templates under ./templates/
type ControllerConfigImages struct {
Etcd string `json:"etcd"`
SetupEtcdEnv string `json:"setupEtcdEnv"`
InfraImage string `json:"infraImage"`
KubeClientAgent string `json:"kubeClientAgentImage"`
}