Documentation ¶
Index ¶
- Constants
- func ReconcileAuditConfig(cm *corev1.ConfigMap, ownerRef config.OwnerRef, auditConfig configv1.Audit) error
- func ReconcileConfig(cm *corev1.ConfigMap, auditWebhookRef *corev1.LocalObjectReference, ...) error
- func ReconcileDeployment(deployment *appsv1.Deployment, auditWebhookRef *corev1.LocalObjectReference, ...) error
- func ReconcileOAuthAPIServerDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, ...) error
- func ReconcileOAuthAPIService(svc *corev1.Service, ownerRef config.OwnerRef) error
- func ReconcileOLMPackageServerService(svc *corev1.Service, ownerRef config.OwnerRef) error
- func ReconcileOpenShiftAPIService(svc *corev1.Service, ownerRef config.OwnerRef) error
- func ReconcileOpenShiftOAuthAPIServerPodDisruptionBudget(pdb *policyv1.PodDisruptionBudget, p *OAuthDeploymentParams) error
- func ReconcilePodDisruptionBudget(pdb *policyv1.PodDisruptionBudget, p *OpenShiftAPIServerParams) error
- func ReconcileServiceMonitor(sm *prometheusoperatorv1.ServiceMonitor, ownerRef config.OwnerRef, ...) error
- type OAuthDeploymentParams
- type OpenShiftAPIServerParams
- func (p *OpenShiftAPIServerParams) AuditPolicyConfig() configv1.Audit
- func (p *OpenShiftAPIServerParams) CipherSuites() []string
- func (p *OpenShiftAPIServerParams) IngressDomain() string
- func (p *OpenShiftAPIServerParams) MinTLSVersion() string
- func (p *OpenShiftAPIServerParams) OAuthAPIServerDeploymentParams(hcp *hyperv1.HostedControlPlane) *OAuthDeploymentParams
- type OpenShiftAPIServerServiceParams
Constants ¶
View Source
const ( OpenShiftAPIServerPort = 8443 OpenShiftOAuthAPIServerPort = 8443 OpenShiftServicePort = 443 OLMPackageServerPort = 5443 )
Variables ¶
This section is empty.
Functions ¶
func ReconcileAuditConfig ¶
func ReconcileConfig ¶
func ReconcileDeployment ¶
func ReconcileDeployment(deployment *appsv1.Deployment, auditWebhookRef *corev1.LocalObjectReference, ownerRef config.OwnerRef, config *corev1.ConfigMap, deploymentConfig config.DeploymentConfig, image string, socks5ProxyImage string, etcdURL string, availabilityProberImage string, apiPort *int32) error
func ReconcileOAuthAPIServerDeployment ¶
func ReconcileOAuthAPIServerDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, p *OAuthDeploymentParams, apiPort *int32) error
func ReconcileOpenShiftOAuthAPIServerPodDisruptionBudget ¶
func ReconcileOpenShiftOAuthAPIServerPodDisruptionBudget(pdb *policyv1.PodDisruptionBudget, p *OAuthDeploymentParams) error
func ReconcilePodDisruptionBudget ¶
func ReconcilePodDisruptionBudget(pdb *policyv1.PodDisruptionBudget, p *OpenShiftAPIServerParams) error
func ReconcileServiceMonitor ¶
func ReconcileServiceMonitor(sm *prometheusoperatorv1.ServiceMonitor, ownerRef config.OwnerRef, clusterID string, metricsSet metrics.MetricsSet) error
Types ¶
type OAuthDeploymentParams ¶
type OAuthDeploymentParams struct { Image string EtcdURL string MinTLSVersion string CipherSuites []string ServiceAccountIssuerURL string DeploymentConfig config.DeploymentConfig AvailabilityProberImage string Availability hyperv1.AvailabilityPolicy OwnerRef config.OwnerRef AuditWebhookRef *corev1.LocalObjectReference }
type OpenShiftAPIServerParams ¶
type OpenShiftAPIServerParams struct { APIServer *configv1.APIServerSpec `json:"apiServer"` IngressSubDomain string EtcdURL string `json:"etcdURL"` ServiceAccountIssuerURL string `json:"serviceAccountIssuerURL"` OpenShiftAPIServerDeploymentConfig config.DeploymentConfig `json:"openshiftAPIServerDeploymentConfig,inline"` OpenShiftOAuthAPIServerDeploymentConfig config.DeploymentConfig `json:"openshiftOAuthAPIServerDeploymentConfig,inline"` config.OwnerRef `json:",inline"` OpenShiftAPIServerImage string `json:"openshiftAPIServerImage"` OAuthAPIServerImage string `json:"oauthAPIServerImage"` ProxyImage string `json:"haproxyImage"` AvailabilityProberImage string `json:"availabilityProberImage"` Availability hyperv1.AvailabilityPolicy Ingress *configv1.IngressSpec Image *configv1.Image Project *configv1.Project AuditWebhookRef *corev1.LocalObjectReference }
func NewOpenShiftAPIServerParams ¶
func NewOpenShiftAPIServerParams(hcp *hyperv1.HostedControlPlane, observedConfig *globalconfig.ObservedConfig, images map[string]string, setDefaultSecurityContext bool) *OpenShiftAPIServerParams
func (*OpenShiftAPIServerParams) AuditPolicyConfig ¶ added in v0.1.2
func (p *OpenShiftAPIServerParams) AuditPolicyConfig() configv1.Audit
func (*OpenShiftAPIServerParams) CipherSuites ¶
func (p *OpenShiftAPIServerParams) CipherSuites() []string
func (*OpenShiftAPIServerParams) IngressDomain ¶
func (p *OpenShiftAPIServerParams) IngressDomain() string
func (*OpenShiftAPIServerParams) MinTLSVersion ¶
func (p *OpenShiftAPIServerParams) MinTLSVersion() string
func (*OpenShiftAPIServerParams) OAuthAPIServerDeploymentParams ¶
func (p *OpenShiftAPIServerParams) OAuthAPIServerDeploymentParams(hcp *hyperv1.HostedControlPlane) *OAuthDeploymentParams
type OpenShiftAPIServerServiceParams ¶
func NewOpenShiftAPIServerServiceParams ¶
func NewOpenShiftAPIServerServiceParams(hcp *hyperv1.HostedControlPlane) *OpenShiftAPIServerServiceParams
Click to show internal directories.
Click to hide internal directories.