Documentation ¶
Index ¶
- Constants
- func ReconcileConfig(config, serviceServingCA *corev1.ConfigMap, ownerRef config.OwnerRef) error
- func ReconcileDeployment(deployment *appsv1.Deployment, config, servingCA *corev1.ConfigMap, ...) error
- func ReconcileKCMServiceServingCA(cm, combinedCA *corev1.ConfigMap, ownerRef config.OwnerRef) error
- func ReconcileRecyclerConfig(config *corev1.ConfigMap, ownerRef config.OwnerRef) error
- func ReconcileService(svc *corev1.Service, owner config.OwnerRef) error
- func ReconcileServiceAccount(sa *corev1.ServiceAccount) 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, servingCA *corev1.ConfigMap, p *KubeControllerManagerParams, apiPort *int32) error
func ReconcileRecyclerConfig ¶
func ReconcileServiceAccount ¶
func ReconcileServiceAccount(sa *corev1.ServiceAccount) 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, images map[string]string, 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.