Documentation ¶
Index ¶
- Constants
- func ReconcileConfig(config, serviceServingCA *corev1.ConfigMap, ownerRef config.OwnerRef) error
- func ReconcileDeployment(deployment *appsv1.Deployment, ...) error
- func ReconcileRecyclerConfig(config *corev1.ConfigMap, ownerRef config.OwnerRef, ...) error
- func ReconcileService(svc *corev1.Service, owner config.OwnerRef) error
- func ReconcileServiceMonitor(sm *prometheusoperatorv1.ServiceMonitor, ownerRef config.OwnerRef, ...) error
- type KubeControllerManagerParams
Constants ¶
View Source
const ( KubeControllerManagerConfigKey = "config.json" ServiceServingCAKey = "service-ca.crt" RecyclerPodTemplateKey = "recycler-pod.yaml" )
View Source
const (
AWSCloudProviderCredsKey = "credentials"
)
View Source
const (
DefaultPort = 10257
)
Variables ¶
This section is empty.
Functions ¶
func ReconcileConfig ¶
func ReconcileDeployment ¶
func ReconcileDeployment(deployment *appsv1.Deployment, config, rootCA, serviceServingCA *corev1.ConfigMap, p *KubeControllerManagerParams, platformType hyperv1.PlatformType) error
func ReconcileRecyclerConfig ¶
func ReconcileRecyclerConfig(config *corev1.ConfigMap, ownerRef config.OwnerRef, releaseImageProvider *imageprovider.ReleaseImageProvider) error
func ReconcileServiceMonitor ¶
func ReconcileServiceMonitor(sm *prometheusoperatorv1.ServiceMonitor, ownerRef config.OwnerRef, clusterID string, metricsSet metrics.MetricsSet) error
Types ¶
type KubeControllerManagerParams ¶
type KubeControllerManagerParams struct { FeatureGate *configv1.FeatureGateSpec `json:"featureGate"` ServiceCA []byte `json:"serviceCA"` CloudProvider string `json:"cloudProvider"` CloudProviderConfig *corev1.LocalObjectReference `json:"cloudProviderConfig"` CloudProviderCreds *corev1.LocalObjectReference `json:"cloudProviderCreds"` Port int32 `json:"port"` ServiceCIDR string ClusterCIDR string APIServer *configv1.APIServerSpec `json:"apiServer"` DisableProfiling bool `json:"disableProfiling"` config.DeploymentConfig config.OwnerRef HyperkubeImage string `json:"hyperkubeImage"` AvailabilityProberImage string `json:"availabilityProberImage"` TokenMinterImage string `json:"tokenMinterImage"` }
func NewKubeControllerManagerParams ¶
func NewKubeControllerManagerParams(ctx context.Context, hcp *hyperv1.HostedControlPlane, releaseImageProvider *imageprovider.ReleaseImageProvider, setDefaultSecurityContext bool) *KubeControllerManagerParams
func (*KubeControllerManagerParams) CipherSuites ¶
func (p *KubeControllerManagerParams) CipherSuites() []string
func (*KubeControllerManagerParams) FeatureGates ¶
func (p *KubeControllerManagerParams) FeatureGates() []string
func (*KubeControllerManagerParams) MinTLSVersion ¶
func (p *KubeControllerManagerParams) MinTLSVersion() string
Click to show internal directories.
Click to hide internal directories.