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(dependencies asset.Parents) error
- func (atbc *AdditionalTrustBundleConfig) Load(f asset.FileFetcher) (bool, error)
- func (*AdditionalTrustBundleConfig) Name() string
- type AwsCredsSecretData
- type AzureCredsSecretData
- type CloudProviderConfig
- type ClusterCSIDriverConfig
- func (*ClusterCSIDriverConfig) Dependencies() []asset.Asset
- func (csi *ClusterCSIDriverConfig) Files() []*asset.File
- func (csi *ClusterCSIDriverConfig) Generate(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(dependencies asset.Parents) error
- func (p *ImageContentSourcePolicy) Load(f asset.FileFetcher) (bool, error)
- func (*ImageContentSourcePolicy) Name() string
- type ImageDigestMirrorSet
- type Infrastructure
- type Ingress
- type Manifests
- type Networking
- 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 ¶
func OvnKubeConfig(cns []configv1.ClusterNetworkEntry, sn []string, useHostRouting bool) ([]byte, error)
OvnKubeConfig creates a config file for the OVNKubernetes CNI provider
Types ¶
type AdditionalTrustBundleConfig ¶
AdditionalTrustBundleConfig generates the additional-trust-bundle-config.yaml files.
func (*AdditionalTrustBundleConfig) Dependencies ¶
func (*AdditionalTrustBundleConfig) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*AdditionalTrustBundleConfig) Files ¶
func (atbc *AdditionalTrustBundleConfig) Files() []*asset.File
Files returns the files generated by the asset.
func (*AdditionalTrustBundleConfig) Generate ¶
func (atbc *AdditionalTrustBundleConfig) Generate(dependencies asset.Parents) error
Generate generates the CloudProviderConfig.
func (*AdditionalTrustBundleConfig) Load ¶
func (atbc *AdditionalTrustBundleConfig) Load(f asset.FileFetcher) (bool, error)
Load loads the already-rendered files back from disk.
func (*AdditionalTrustBundleConfig) Name ¶
func (*AdditionalTrustBundleConfig) Name() string
Name returns a human friendly name for the asset.
type AwsCredsSecretData ¶
type AwsCredsSecretData struct { Base64encodeAccessKeyID string Base64encodeSecretAccessKey string }
AwsCredsSecretData holds encoded credentials and is used to generate cloud-creds secret
type AzureCredsSecretData ¶
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 ¶
CloudProviderConfig generates the cloud-provider-config.yaml files.
func (*CloudProviderConfig) Dependencies ¶
func (*CloudProviderConfig) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*CloudProviderConfig) Files ¶
func (cpc *CloudProviderConfig) Files() []*asset.File
Files returns the files generated by the asset.
func (*CloudProviderConfig) Generate ¶
func (cpc *CloudProviderConfig) Generate(dependencies asset.Parents) error
Generate generates the CloudProviderConfig.
func (*CloudProviderConfig) Load ¶
func (cpc *CloudProviderConfig) Load(f asset.FileFetcher) (bool, error)
Load loads the already-rendered files back from disk.
func (*CloudProviderConfig) Name ¶
func (*CloudProviderConfig) Name() string
Name returns a human friendly name for the asset.
type ClusterCSIDriverConfig ¶
ClusterCSIDriverConfig generates the cluster-csi-driver-config.yaml file.
func (*ClusterCSIDriverConfig) Dependencies ¶
func (*ClusterCSIDriverConfig) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*ClusterCSIDriverConfig) Files ¶
func (csi *ClusterCSIDriverConfig) Files() []*asset.File
Files returns the files generated by the asset.
func (*ClusterCSIDriverConfig) Generate ¶
func (csi *ClusterCSIDriverConfig) Generate(dependencies asset.Parents) error
Generate the ClusterCSIDriverConfig.
func (*ClusterCSIDriverConfig) Load ¶
func (csi *ClusterCSIDriverConfig) Load(f asset.FileFetcher) (bool, error)
Load loads the already-rendered files back from disk.
func (*ClusterCSIDriverConfig) Name ¶
func (*ClusterCSIDriverConfig) Name() string
Name returns a human friendly name for the asset.
type DNS ¶
DNS generates the cluster-dns-*.yml files.
func (*DNS) Dependencies ¶
Dependencies returns all of the dependencies directly needed to generate the asset.
type FeatureGate ¶
type FeatureGate struct { FileList []*asset.File Config configv1.FeatureGate }
FeatureGate generates the feature gate manifest.
func (*FeatureGate) Dependencies ¶
func (*FeatureGate) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*FeatureGate) Files ¶
func (f *FeatureGate) Files() []*asset.File
Files returns the files generated by the asset.
func (*FeatureGate) Generate ¶
func (f *FeatureGate) Generate(dependencies asset.Parents) error
Generate generates the FeatureGate CRD.
func (*FeatureGate) Load ¶
func (f *FeatureGate) Load(ff asset.FileFetcher) (bool, error)
Load loads the already-rendered files back from disk.
func (*FeatureGate) Name ¶
func (*FeatureGate) Name() string
Name returns a human-friendly name for the asset.
type GCPCredsSecretData ¶
type GCPCredsSecretData struct {
Base64encodeServiceAccount string
}
GCPCredsSecretData holds encoded credentials and is used to generate cloud-creds secret
type IBMCloudCredsSecretData ¶
type IBMCloudCredsSecretData struct {
Base64encodeAPIKey string
}
IBMCloudCredsSecretData holds encoded credentials and is used to generate cloud-creds secret
type ImageContentSourcePolicy ¶
ImageContentSourcePolicy generates the image-content-source-policy.yaml file.
func (*ImageContentSourcePolicy) Dependencies ¶
func (*ImageContentSourcePolicy) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*ImageContentSourcePolicy) Files ¶
func (p *ImageContentSourcePolicy) Files() []*asset.File
Files returns the files generated by the asset.
func (*ImageContentSourcePolicy) Generate ¶
func (p *ImageContentSourcePolicy) Generate(dependencies asset.Parents) error
Generate generates the ImageContentSourcePolicy config and its CR.
func (*ImageContentSourcePolicy) Load ¶
func (p *ImageContentSourcePolicy) Load(f asset.FileFetcher) (bool, error)
Load loads the already-rendered files back from disk.
func (*ImageContentSourcePolicy) Name ¶
func (*ImageContentSourcePolicy) Name() string
Name returns a human-friendly name for the asset.
type ImageDigestMirrorSet ¶
ImageDigestMirrorSet generates the image-digest-mirror-set.yaml file.
func (*ImageDigestMirrorSet) Dependencies ¶
func (*ImageDigestMirrorSet) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*ImageDigestMirrorSet) Files ¶
func (p *ImageDigestMirrorSet) Files() []*asset.File
Files returns the files generated by the asset.
func (*ImageDigestMirrorSet) Generate ¶
func (p *ImageDigestMirrorSet) Generate(dependencies asset.Parents) error
Generate generates the ImageDigestMirrorSet config and its CR.
func (*ImageDigestMirrorSet) Load ¶
func (p *ImageDigestMirrorSet) Load(f asset.FileFetcher) (bool, error)
Load loads the already-rendered files back from disk.
func (*ImageDigestMirrorSet) Name ¶
func (*ImageDigestMirrorSet) Name() string
Name returns a human-friendly name for the asset.
type Infrastructure ¶
Infrastructure generates the cluster-infrastructure-*.yml files.
func (*Infrastructure) Dependencies ¶
func (*Infrastructure) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*Infrastructure) Files ¶
func (i *Infrastructure) Files() []*asset.File
Files returns the files generated by the asset.
func (*Infrastructure) Generate ¶
func (i *Infrastructure) Generate(dependencies asset.Parents) error
Generate generates the Infrastructure config and its CRD.
func (*Infrastructure) Load ¶
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 ¶
func (*Infrastructure) Name() string
Name returns a human friendly name for the asset.
type Ingress ¶
Ingress generates the cluster-ingress-*.yml files.
func (*Ingress) Dependencies ¶
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*Ingress) Generate ¶
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 ¶
Manifests generates the dependent operator config.yaml files
func (*Manifests) Dependencies ¶
Dependencies returns all of the dependencies directly needed by a Manifests asset.
type Networking ¶
Networking generates the cluster-network-*.yml files.
func (*Networking) Dependencies ¶
func (no *Networking) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate network configuration.
func (*Networking) Files ¶
func (no *Networking) Files() []*asset.File
Files returns the files generated by the asset.
func (*Networking) Generate ¶
func (no *Networking) Generate(dependencies asset.Parents) error
Generate generates the network operator config and its CRD.
func (*Networking) Load ¶
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 ¶
func (no *Networking) Name() string
Name returns a human friendly name for the operator.
type OpenStackCredsSecretData ¶
type OpenStackCredsSecretData struct { Base64encodeCloudCreds string Base64encodeCloudCredsINI string }
OpenStackCredsSecretData holds encoded credentials and is used to generate cloud-creds secret
type Openshift ¶
Openshift generates the dependent resource manifests for openShift (as against bootkube)
func (*Openshift) Dependencies ¶
Dependencies returns all of the dependencies directly needed by the Openshift asset
type OvirtCredsSecretData ¶
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 ¶
Proxy generates the cluster-proxy-*.yml files.
func (*Proxy) Dependencies ¶
Dependencies returns all of the dependencies directly needed to generate the asset.
type Scheduler ¶
Scheduler generates the cluster-scheduler-*.yml files.
func (*Scheduler) Dependencies ¶
Dependencies returns all of the dependencies directly needed to generate the asset.
type VSphereCredsSecretData ¶
type VSphereCredsSecretData struct { VCenter string Base64encodeUsername string Base64encodePassword string }
VSphereCredsSecretData holds encoded credentials and is used to generated cloud-creds secret