Documentation
¶
Index ¶
- func ApplyNamedCertificateMounts(containerName string, mountPrefix string, ...)
- func BaseDomain(hcp *hyperv1.HostedControlPlane) string
- func BuildConfig() *configv1.Build
- func DNSConfig() *configv1.DNS
- func GetConfigNamedCertificates(servingCerts []configv1.APIServerNamedServingCert, mountPathPrefix string) []configv1.NamedCertificate
- func ImageConfig() *configv1.Image
- func ImageContentSourcePolicy() *operatorv1alpha1.ImageContentSourcePolicy
- func InfrastructureConfig() *configv1.Infrastructure
- func IngressConfig() *configv1.Ingress
- func IngressDomain(hcp *hyperv1.HostedControlPlane) string
- func NetworkConfig() *configv1.Network
- func ObservedBuildConfig(ns string) *corev1.ConfigMap
- func ObservedImageConfig(ns string) *corev1.ConfigMap
- func ObservedProjectConfig(ns string) *corev1.ConfigMap
- func ProjectConfig() *configv1.Project
- func ProxyConfig() *configv1.Proxy
- func ReadObservedConfig(ctx context.Context, c client.Client, observedConfig *ObservedConfig, ...) error
- func ReconcileDNSConfig(dns *configv1.DNS, hcp *hyperv1.HostedControlPlane)
- func ReconcileImageContentSourcePolicy(icsp *operatorv1alpha1.ImageContentSourcePolicy, ...) error
- func ReconcileInClusterProxyConfig(cfg *configv1.Proxy, hcfg *hyperv1.ClusterConfiguration)
- func ReconcileInfrastructure(infra *configv1.Infrastructure, hcp *hyperv1.HostedControlPlane)
- func ReconcileIngressConfig(cfg *configv1.Ingress, hcp *hyperv1.HostedControlPlane)
- func ReconcileNetworkConfig(cfg *configv1.Network, hcp *hyperv1.HostedControlPlane)
- func ReconcileObservedConfig(cm *corev1.ConfigMap, config runtime.Object) error
- func ReconcileProxyConfig(cfg *configv1.Proxy, hcfg *hyperv1.ClusterConfiguration)
- func ReconcileProxyConfigWithStatus(cfg *configv1.Proxy, hcp *hyperv1.HostedControlPlane)
- func ReconcileProxyConfigWithStatusFromHostedCluster(cfg *configv1.Proxy, hc *hyperv1.HostedCluster)
- type InstallConfig
- type ObservedConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseDomain ¶
func BaseDomain(hcp *hyperv1.HostedControlPlane) string
func BuildConfig ¶
func GetConfigNamedCertificates ¶
func GetConfigNamedCertificates(servingCerts []configv1.APIServerNamedServingCert, mountPathPrefix string) []configv1.NamedCertificate
func ImageConfig ¶
func ImageContentSourcePolicy ¶
func ImageContentSourcePolicy() *operatorv1alpha1.ImageContentSourcePolicy
func InfrastructureConfig ¶
func InfrastructureConfig() *configv1.Infrastructure
func IngressConfig ¶
func IngressDomain ¶
func IngressDomain(hcp *hyperv1.HostedControlPlane) string
func NetworkConfig ¶
func ObservedBuildConfig ¶
func ObservedImageConfig ¶
func ObservedProjectConfig ¶
func ProjectConfig ¶
func ProxyConfig ¶
func ReadObservedConfig ¶
func ReadObservedConfig(ctx context.Context, c client.Client, observedConfig *ObservedConfig, namespace string) error
ReadObservedConfig reads global configuration resources from configmaps that were created by the hosted-cluster-config-operator from resources inside the guest cluster.
func ReconcileDNSConfig ¶
func ReconcileDNSConfig(dns *configv1.DNS, hcp *hyperv1.HostedControlPlane)
func ReconcileImageContentSourcePolicy ¶
func ReconcileImageContentSourcePolicy(icsp *operatorv1alpha1.ImageContentSourcePolicy, hcp *hyperv1.HostedControlPlane) error
func ReconcileInClusterProxyConfig ¶ added in v0.1.5
func ReconcileInClusterProxyConfig(cfg *configv1.Proxy, hcfg *hyperv1.ClusterConfiguration)
ReconcileInClusterProxyConfig will reconcile the proxy configured in the hosted cluster spec when specified otherwise will maintain what the user specifies in the proxy spec by default
func ReconcileInfrastructure ¶
func ReconcileInfrastructure(infra *configv1.Infrastructure, hcp *hyperv1.HostedControlPlane)
func ReconcileIngressConfig ¶
func ReconcileIngressConfig(cfg *configv1.Ingress, hcp *hyperv1.HostedControlPlane)
func ReconcileNetworkConfig ¶
func ReconcileNetworkConfig(cfg *configv1.Network, hcp *hyperv1.HostedControlPlane)
func ReconcileObservedConfig ¶
func ReconcileProxyConfig ¶
func ReconcileProxyConfig(cfg *configv1.Proxy, hcfg *hyperv1.ClusterConfiguration)
TODO (relyt0925): this is is utilized by the machine config server and feeds into the user data setup to download ignition configuration. It also factors into the machine config served to the machine. These usages need to be further examined before it directly takes what the user configures for the cluster-wide proxy at the SDN level. In current state of the world: the in cluster proxy configuration set by the user is never picked up (only the one set on the hosted cluster instance).
func ReconcileProxyConfigWithStatus ¶
func ReconcileProxyConfigWithStatus(cfg *configv1.Proxy, hcp *hyperv1.HostedControlPlane)
func ReconcileProxyConfigWithStatusFromHostedCluster ¶
func ReconcileProxyConfigWithStatusFromHostedCluster(cfg *configv1.Proxy, hc *hyperv1.HostedCluster)
Types ¶
type InstallConfig ¶
Abbreviated version of the installer's InstallConfig type Bare minimum required to support MCS
func NewInstallConfig ¶
func NewInstallConfig(hcp *hyperv1.HostedControlPlane) *InstallConfig
func (*InstallConfig) String ¶
func (c *InstallConfig) String() string