-
Notifications
You must be signed in to change notification settings - Fork 0
/
targets.go
69 lines (63 loc) · 2.18 KB
/
targets.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package targets
import (
"github.com/openshift/installer/pkg/asset"
"github.com/openshift/installer/pkg/asset/cluster"
"github.com/openshift/installer/pkg/asset/ignition/bootstrap"
"github.com/openshift/installer/pkg/asset/ignition/machine"
"github.com/openshift/installer/pkg/asset/installconfig"
"github.com/openshift/installer/pkg/asset/kubeconfig"
"github.com/openshift/installer/pkg/asset/machines"
"github.com/openshift/installer/pkg/asset/manifests"
"github.com/openshift/installer/pkg/asset/templates/content/bootkube"
"github.com/openshift/installer/pkg/asset/templates/content/openshift"
"github.com/openshift/installer/pkg/asset/tls"
)
var (
// InstallConfig are the install-config targeted assets.
InstallConfig = []asset.WritableAsset{
&installconfig.InstallConfig{},
}
// Manifests are the manifests targeted assets.
Manifests = []asset.WritableAsset{
&machines.Master{},
&machines.Worker{},
&manifests.Manifests{},
&manifests.Openshift{},
}
// ManifestTemplates are the manifest-templates targeted assets.
ManifestTemplates = []asset.WritableAsset{
&bootkube.KubeCloudConfig{},
&bootkube.MachineConfigServerTLSSecret{},
&bootkube.Pull{},
&bootkube.CVOOverrides{},
&bootkube.HostEtcdServiceEndpointsKubeSystem{},
&bootkube.KubeSystemConfigmapEtcdServingCA{},
&bootkube.KubeSystemConfigmapRootCA{},
&bootkube.KubeSystemSecretEtcdClient{},
&bootkube.OpenshiftMachineConfigOperator{},
&bootkube.EtcdServiceKubeSystem{},
&bootkube.HostEtcdServiceKubeSystem{},
&bootkube.OpenshiftConfigSecretEtcdMetricClient{},
&bootkube.OpenshiftConfigConfigmapEtcdMetricServingCA{},
&openshift.BindingDiscovery{},
&openshift.CloudCredsSecret{},
&openshift.KubeadminPasswordSecret{},
&openshift.RoleCloudCredsSecretReader{},
}
// IgnitionConfigs are the ignition-configs targeted assets.
IgnitionConfigs = []asset.WritableAsset{
&kubeconfig.AdminClient{},
&machine.Master{},
&machine.Worker{},
&bootstrap.Bootstrap{},
&cluster.Metadata{},
}
// Cluster are the cluster targeted assets.
Cluster = []asset.WritableAsset{
&cluster.TerraformVariables{},
&kubeconfig.AdminClient{},
&tls.JournalCertKey{},
&cluster.Metadata{},
&cluster.Cluster{},
}
)