Documentation ¶
Overview ¶
Package manifests deals with creating manifests for all manifests to be installed for the cluster
Index ¶
- Variables
- func OvnKubeConfig(cns []configv1.ClusterNetworkEntry, sn []string, useHostRouting bool) ([]byte, error)
- func ParseCertificates(certificates string) (map[string]string, error)
- type AdditionalTrustBundleConfig
- func (*AdditionalTrustBundleConfig) Dependencies() []asset.Asset
- func (atbc *AdditionalTrustBundleConfig) Files() []*asset.File
- func (atbc *AdditionalTrustBundleConfig) Generate(_ context.Context, dependencies asset.Parents) error
- func (atbc *AdditionalTrustBundleConfig) Load(f asset.FileFetcher) (bool, error)
- func (*AdditionalTrustBundleConfig) Name() string
- type AwsCredsSecretData
- type AzureCredsSecretData
- type CloudProviderConfig
- func (*CloudProviderConfig) Dependencies() []asset.Asset
- func (cpc *CloudProviderConfig) Files() []*asset.File
- func (cpc *CloudProviderConfig) Generate(ctx context.Context, dependencies asset.Parents) error
- func (cpc *CloudProviderConfig) Load(f asset.FileFetcher) (bool, error)
- func (*CloudProviderConfig) Name() string
- type ClusterCSIDriverConfig
- func (*ClusterCSIDriverConfig) Dependencies() []asset.Asset
- func (csi *ClusterCSIDriverConfig) Files() []*asset.File
- func (csi *ClusterCSIDriverConfig) Generate(_ context.Context, dependencies asset.Parents) error
- func (csi *ClusterCSIDriverConfig) Load(f asset.FileFetcher) (bool, error)
- func (*ClusterCSIDriverConfig) Name() string
- type DNS
- type FeatureGate
- type GCPCredsSecretData
- type IBMCloudCredsSecretData
- type ImageContentSourcePolicy
- func (*ImageContentSourcePolicy) Dependencies() []asset.Asset
- func (p *ImageContentSourcePolicy) Files() []*asset.File
- func (p *ImageContentSourcePolicy) Generate(_ context.Context, dependencies asset.Parents) error
- func (p *ImageContentSourcePolicy) Load(f asset.FileFetcher) (bool, error)
- func (*ImageContentSourcePolicy) Name() string
- type ImageDigestMirrorSet
- func (*ImageDigestMirrorSet) Dependencies() []asset.Asset
- func (p *ImageDigestMirrorSet) Files() []*asset.File
- func (p *ImageDigestMirrorSet) Generate(_ context.Context, dependencies asset.Parents) error
- func (p *ImageDigestMirrorSet) Load(f asset.FileFetcher) (bool, error)
- func (*ImageDigestMirrorSet) Name() string
- type Infrastructure
- type Ingress
- type Manifests
- type Networking
- func (no *Networking) Dependencies() []asset.Asset
- func (no *Networking) Files() []*asset.File
- func (no *Networking) Generate(_ context.Context, dependencies asset.Parents) error
- func (no *Networking) GenerateCustomNetworkConfigMTU(ic *installconfig.InstallConfig) (*operatorv1.DefaultNetworkDefinition, error)
- func (no *Networking) Load(f asset.FileFetcher) (bool, error)
- func (no *Networking) Name() string
- type OpenStackCredsSecretData
- type Openshift
- type OvirtCredsSecretData
- type Proxy
- type Scheduler
- type VSphereCredsSecretData
Constants ¶
This section is empty.
Variables ¶
var ( // SchedulerCfgFilename is the path of the Scheduler Config file SchedulerCfgFilename = filepath.Join(manifestDir, "cluster-scheduler-02-config.yml") )
Functions ¶
func OvnKubeConfig ¶ added in v0.9.2
func OvnKubeConfig(cns []configv1.ClusterNetworkEntry, sn []string, useHostRouting bool) ([]byte, error)
OvnKubeConfig creates a config file for the OVNKubernetes CNI provider
Types ¶
type AdditionalTrustBundleConfig ¶ added in v0.9.2
AdditionalTrustBundleConfig generates the additional-trust-bundle-config.yaml files.
func (*AdditionalTrustBundleConfig) Dependencies ¶ added in v0.9.2
func (*AdditionalTrustBundleConfig) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*AdditionalTrustBundleConfig) Files ¶ added in v0.9.2
func (atbc *AdditionalTrustBundleConfig) Files() []*asset.File
Files returns the files generated by the asset.
func (*AdditionalTrustBundleConfig) Generate ¶ added in v0.9.2
func (atbc *AdditionalTrustBundleConfig) Generate(_ context.Context, dependencies asset.Parents) error
Generate generates the CloudProviderConfig.
func (*AdditionalTrustBundleConfig) Load ¶ added in v0.9.2
func (atbc *AdditionalTrustBundleConfig) Load(f asset.FileFetcher) (bool, error)
Load loads the already-rendered files back from disk.
func (*AdditionalTrustBundleConfig) Name ¶ added in v0.9.2
func (*AdditionalTrustBundleConfig) Name() string
Name returns a human friendly name for the asset.
type AwsCredsSecretData ¶ added in v0.4.0
type AwsCredsSecretData struct { Base64encodeAccessKeyID string Base64encodeSecretAccessKey string }
AwsCredsSecretData holds encoded credentials and is used to generate cloud-creds secret
type AzureCredsSecretData ¶ added in v0.9.2
type AzureCredsSecretData struct { Base64encodeSubscriptionID string Base64encodeClientID string Base64encodeClientSecret string Base64encodeTenantID string Base64encodeResourcePrefix string Base64encodeResourceGroup string Base64encodeRegion string }
AzureCredsSecretData holds encoded credentials and is used to generate cloud-creds secret
type CloudProviderConfig ¶ added in v0.9.2
CloudProviderConfig generates the cloud-provider-config.yaml files.
func (*CloudProviderConfig) Dependencies ¶ added in v0.9.2
func (*CloudProviderConfig) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*CloudProviderConfig) Files ¶ added in v0.9.2
func (cpc *CloudProviderConfig) Files() []*asset.File
Files returns the files generated by the asset.
func (*CloudProviderConfig) Load ¶ added in v0.9.2
func (cpc *CloudProviderConfig) Load(f asset.FileFetcher) (bool, error)
Load loads the already-rendered files back from disk.
func (*CloudProviderConfig) Name ¶ added in v0.9.2
func (*CloudProviderConfig) Name() string
Name returns a human friendly name for the asset.
type ClusterCSIDriverConfig ¶ added in v0.9.2
ClusterCSIDriverConfig generates the cluster-csi-driver-config.yaml file.
func (*ClusterCSIDriverConfig) Dependencies ¶ added in v0.9.2
func (*ClusterCSIDriverConfig) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*ClusterCSIDriverConfig) Files ¶ added in v0.9.2
func (csi *ClusterCSIDriverConfig) Files() []*asset.File
Files returns the files generated by the asset.
func (*ClusterCSIDriverConfig) Load ¶ added in v0.9.2
func (csi *ClusterCSIDriverConfig) Load(f asset.FileFetcher) (bool, error)
Load loads the already-rendered files back from disk.
func (*ClusterCSIDriverConfig) Name ¶ added in v0.9.2
func (*ClusterCSIDriverConfig) Name() string
Name returns a human friendly name for the asset.
type DNS ¶ added in v0.8.0
DNS generates the cluster-dns-*.yml files.
func (*DNS) Dependencies ¶ added in v0.8.0
Dependencies returns all of the dependencies directly needed to generate the asset.
type FeatureGate ¶ added in v0.9.2
type FeatureGate struct { FileList []*asset.File Config configv1.FeatureGate }
FeatureGate generates the feature gate manifest.
func (*FeatureGate) Dependencies ¶ added in v0.9.2
func (*FeatureGate) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*FeatureGate) Files ¶ added in v0.9.2
func (f *FeatureGate) Files() []*asset.File
Files returns the files generated by the asset.
func (*FeatureGate) Load ¶ added in v0.9.2
func (f *FeatureGate) Load(ff asset.FileFetcher) (bool, error)
Load loads the already-rendered files back from disk.
func (*FeatureGate) Name ¶ added in v0.9.2
func (*FeatureGate) Name() string
Name returns a human-friendly name for the asset.
type GCPCredsSecretData ¶ added in v0.9.2
type GCPCredsSecretData struct {
Base64encodeServiceAccount string
}
GCPCredsSecretData holds encoded credentials and is used to generate cloud-creds secret
type IBMCloudCredsSecretData ¶ added in v0.9.2
type IBMCloudCredsSecretData struct {
Base64encodeAPIKey string
}
IBMCloudCredsSecretData holds encoded credentials and is used to generate cloud-creds secret
type ImageContentSourcePolicy ¶ added in v0.9.2
ImageContentSourcePolicy generates the image-content-source-policy.yaml file.
func (*ImageContentSourcePolicy) Dependencies ¶ added in v0.9.2
func (*ImageContentSourcePolicy) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*ImageContentSourcePolicy) Files ¶ added in v0.9.2
func (p *ImageContentSourcePolicy) Files() []*asset.File
Files returns the files generated by the asset.
func (*ImageContentSourcePolicy) Generate ¶ added in v0.9.2
Generate generates the ImageContentSourcePolicy config and its CR.
func (*ImageContentSourcePolicy) Load ¶ added in v0.9.2
func (p *ImageContentSourcePolicy) Load(f asset.FileFetcher) (bool, error)
Load loads the already-rendered files back from disk.
func (*ImageContentSourcePolicy) Name ¶ added in v0.9.2
func (*ImageContentSourcePolicy) Name() string
Name returns a human-friendly name for the asset.
type ImageDigestMirrorSet ¶ added in v0.9.2
ImageDigestMirrorSet generates the image-digest-mirror-set.yaml file.
func (*ImageDigestMirrorSet) Dependencies ¶ added in v0.9.2
func (*ImageDigestMirrorSet) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*ImageDigestMirrorSet) Files ¶ added in v0.9.2
func (p *ImageDigestMirrorSet) Files() []*asset.File
Files returns the files generated by the asset.
func (*ImageDigestMirrorSet) Generate ¶ added in v0.9.2
Generate generates the ImageDigestMirrorSet config and its CR.
func (*ImageDigestMirrorSet) Load ¶ added in v0.9.2
func (p *ImageDigestMirrorSet) Load(f asset.FileFetcher) (bool, error)
Load loads the already-rendered files back from disk.
func (*ImageDigestMirrorSet) Name ¶ added in v0.9.2
func (*ImageDigestMirrorSet) Name() string
Name returns a human-friendly name for the asset.
type Infrastructure ¶ added in v0.9.2
Infrastructure generates the cluster-infrastructure-*.yml files.
func (*Infrastructure) Dependencies ¶ added in v0.9.2
func (*Infrastructure) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*Infrastructure) Files ¶ added in v0.9.2
func (i *Infrastructure) Files() []*asset.File
Files returns the files generated by the asset.
func (*Infrastructure) Generate ¶ added in v0.9.2
Generate generates the Infrastructure config and its CRD.
func (*Infrastructure) Load ¶ added in v0.9.2
func (i *Infrastructure) Load(f asset.FileFetcher) (bool, error)
Load returns false since this asset is not written to disk by the installer.
func (*Infrastructure) Name ¶ added in v0.9.2
func (*Infrastructure) Name() string
Name returns a human friendly name for the asset.
type Ingress ¶ added in v0.5.0
Ingress generates the cluster-ingress-*.yml files.
func (*Ingress) Dependencies ¶ added in v0.5.0
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*Ingress) Generate ¶ added in v0.5.0
Generate generates the ingress cluster config and default ingresscontroller.
A cluster ingress config is always created.
A default ingresscontroller is only created if the cluster is using an internal publishing strategy. In this case, the default ingresscontroller is also set to use the internal publishing strategy.
type Manifests ¶ added in v0.2.0
Manifests generates the dependent operator config.yaml files
func (*Manifests) Dependencies ¶ added in v0.2.0
Dependencies returns all of the dependencies directly needed by a Manifests asset.
func (*Manifests) Generate ¶ added in v0.2.0
Generate generates the respective operator config.yml files
type Networking ¶ added in v0.4.0
Networking generates the cluster-network-*.yml files.
func (*Networking) Dependencies ¶ added in v0.4.0
func (no *Networking) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate network configuration.
func (*Networking) Files ¶ added in v0.4.0
func (no *Networking) Files() []*asset.File
Files returns the files generated by the asset.
func (*Networking) GenerateCustomNetworkConfigMTU ¶ added in v0.9.153
func (no *Networking) GenerateCustomNetworkConfigMTU(ic *installconfig.InstallConfig) (*operatorv1.DefaultNetworkDefinition, error)
GenerateCustomNetworkConfigMTU generates and return the DefaultNetwork configuration, when there are customizations in the install-config.yaml.
func (*Networking) Load ¶ added in v0.4.0
func (no *Networking) Load(f asset.FileFetcher) (bool, error)
Load returns false since this asset is not written to disk by the installer.
func (*Networking) Name ¶ added in v0.4.0
func (no *Networking) Name() string
Name returns a human friendly name for the operator.
type OpenStackCredsSecretData ¶ added in v0.4.0
type OpenStackCredsSecretData struct { Base64encodeCloudCreds string Base64encodeCloudCredsINI string }
OpenStackCredsSecretData holds encoded credentials and is used to generate cloud-creds secret
type Openshift ¶ added in v0.6.0
Openshift generates the dependent resource manifests for openShift (as against bootkube)
func (*Openshift) Dependencies ¶ added in v0.6.0
Dependencies returns all of the dependencies directly needed by the Openshift asset
func (*Openshift) Generate ¶ added in v0.6.0
Generate generates the respective operator config.yml files
type OvirtCredsSecretData ¶ added in v0.9.2
type OvirtCredsSecretData struct { Base64encodeURL string Base64encodeUsername string Base64encodePassword string Base64encodeInsecure string Base64encodeCABundle string }
OvirtCredsSecretData holds encoded credentials and is used to generated cloud-creds secret
type Proxy ¶ added in v0.9.2
Proxy generates the cluster-proxy-*.yml files.
func (*Proxy) Dependencies ¶ added in v0.9.2
Dependencies returns all of the dependencies directly needed to generate the asset.
type Scheduler ¶ added in v0.9.2
Scheduler generates the cluster-scheduler-*.yml files.
func (*Scheduler) Dependencies ¶ added in v0.9.2
Dependencies returns all of the dependencies directly needed to generate the asset.
type VSphereCredsSecretData ¶ added in v0.9.2
type VSphereCredsSecretData struct { VCenter string Base64encodeUsername string Base64encodePassword string }
VSphereCredsSecretData holds encoded credentials and is used to generated cloud-creds secret