github.com/openshift/installer@v1.4.17/pkg/asset/targets/targets.go (about) 1 package targets 2 3 import ( 4 "github.com/openshift/installer/pkg/asset" 5 "github.com/openshift/installer/pkg/asset/cluster" 6 "github.com/openshift/installer/pkg/asset/cluster/tfvars" 7 "github.com/openshift/installer/pkg/asset/ignition/bootstrap" 8 "github.com/openshift/installer/pkg/asset/ignition/machine" 9 "github.com/openshift/installer/pkg/asset/installconfig" 10 "github.com/openshift/installer/pkg/asset/kubeconfig" 11 "github.com/openshift/installer/pkg/asset/machines" 12 "github.com/openshift/installer/pkg/asset/manifests" 13 "github.com/openshift/installer/pkg/asset/manifests/clusterapi" 14 "github.com/openshift/installer/pkg/asset/password" 15 "github.com/openshift/installer/pkg/asset/templates/content/bootkube" 16 "github.com/openshift/installer/pkg/asset/templates/content/openshift" 17 "github.com/openshift/installer/pkg/asset/tls" 18 ) 19 20 var ( 21 // InstallConfig are the install-config targeted assets. 22 InstallConfig = []asset.WritableAsset{ 23 &installconfig.InstallConfig{}, 24 } 25 26 // Manifests are the manifests targeted assets. 27 Manifests = []asset.WritableAsset{ 28 &machines.Master{}, 29 &machines.Worker{}, 30 &machines.ClusterAPI{}, 31 &manifests.Manifests{}, 32 &manifests.Openshift{}, 33 &clusterapi.Cluster{}, 34 } 35 36 // ManifestTemplates are the manifest-templates targeted assets. 37 ManifestTemplates = []asset.WritableAsset{ 38 &bootkube.KubeCloudConfig{}, 39 &bootkube.MachineConfigServerTLSSecret{}, 40 &bootkube.CVOOverrides{}, 41 &bootkube.KubeSystemConfigmapRootCA{}, 42 &bootkube.OpenshiftConfigSecretPullSecret{}, 43 &openshift.CloudCredsSecret{}, 44 &openshift.KubeadminPasswordSecret{}, 45 &openshift.RoleCloudCredsSecretReader{}, 46 &openshift.AzureCloudProviderSecret{}, 47 } 48 49 // IgnitionConfigs are the ignition-configs targeted assets. 50 IgnitionConfigs = []asset.WritableAsset{ 51 &kubeconfig.AdminClient{}, 52 &password.KubeadminPassword{}, 53 &machine.Master{}, 54 &machine.Worker{}, 55 &bootstrap.Bootstrap{}, 56 &cluster.Metadata{}, 57 } 58 59 // SingleNodeIgnitionConfig is the bootstrap-in-place ignition-config targeted assets. 60 SingleNodeIgnitionConfig = []asset.WritableAsset{ 61 &kubeconfig.AdminClient{}, 62 &password.KubeadminPassword{}, 63 &machine.Worker{}, 64 &bootstrap.SingleNodeBootstrapInPlace{}, 65 &cluster.Metadata{}, 66 } 67 68 // Cluster are the cluster targeted assets. 69 Cluster = []asset.WritableAsset{ 70 &cluster.Metadata{}, 71 &machine.MasterIgnitionCustomizations{}, 72 &machine.WorkerIgnitionCustomizations{}, 73 &tfvars.TerraformVariables{}, 74 &kubeconfig.AdminClient{}, 75 &password.KubeadminPassword{}, 76 &tls.JournalCertKey{}, 77 &cluster.Cluster{}, 78 } 79 )