assets

package
v0.1.50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 35 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// HypershiftOperatorPriortyClass is the priority class for the HO
	HypershiftOperatorPriortyClass = "hypershift-operator"

	// EtcdPriorityClass is for etcd pods.
	EtcdPriorityClass = "hypershift-etcd"

	// APICriticalPriorityClass is for pods that are required for API calls and
	// resource admission to succeed. This includes pods like kube-apiserver,
	// aggregated API servers, and webhooks.
	APICriticalPriorityClass = "hypershift-api-critical"

	// DefaultPriorityClass is for pods in the Hypershift control plane that are
	// not API critical but still need elevated priority.
	DefaultPriorityClass = "hypershift-control-plane"

	// PullSecretName is the name for the Secret containing a user's pull secret
	PullSecretName = "pull-secret"
)
View Source
const (
	HypershiftOperatorName                = "operator"
	ExternalDNSDeploymentName             = "external-dns"
	HyperShiftInstallCLIVersionAnnotation = "hypershift.openshift.io/install-cli-version"
)

Variables

This section is empty.

Functions

func CustomResourceDefinitions

func CustomResourceDefinitions(include func(path string, crd *apiextensionsv1.CustomResourceDefinition) bool, transform func(*apiextensionsv1.CustomResourceDefinition)) []crclient.Object

CustomResourceDefinitions returns all existing CRDs as controller-runtime objects

func HyperShiftAPICriticalPriorityClass

func HyperShiftAPICriticalPriorityClass() *schedulingv1.PriorityClass

func HyperShiftControlPlanePriorityClass

func HyperShiftControlPlanePriorityClass() *schedulingv1.PriorityClass

func HyperShiftEtcdPriorityClass

func HyperShiftEtcdPriorityClass() *schedulingv1.PriorityClass

func HypershiftOperatorPriorityClass

func HypershiftOperatorPriorityClass() *schedulingv1.PriorityClass

Types

type ExternalDNSClusterRole

type ExternalDNSClusterRole struct{}

func (ExternalDNSClusterRole) Build

type ExternalDNSClusterRoleBinding

type ExternalDNSClusterRoleBinding struct {
	ClusterRole    *rbacv1.ClusterRole
	ServiceAccount *corev1.ServiceAccount
}

func (ExternalDNSClusterRoleBinding) Build

type ExternalDNSCredsSecret

type ExternalDNSCredsSecret struct {
	Namespace  *corev1.Namespace
	CredsBytes []byte
}

func (ExternalDNSCredsSecret) Build

type ExternalDNSDeployment

type ExternalDNSDeployment struct {
	Namespace         *corev1.Namespace
	Image             string
	ServiceAccount    *corev1.ServiceAccount
	Provider          ExternalDNSProvider
	DomainFilter      string
	CredentialsSecret *corev1.Secret
	TxtOwnerId        string
	Proxy             *configv1.Proxy
}

func (ExternalDNSDeployment) Build

type ExternalDNSPodMonitor added in v0.1.37

type ExternalDNSPodMonitor struct {
	Namespace *corev1.Namespace
}

func (ExternalDNSPodMonitor) Build added in v0.1.37

type ExternalDNSProvider added in v0.1.40

type ExternalDNSProvider string
const (
	AWSExternalDNSProvider   ExternalDNSProvider = "aws"
	AzureExternalDNSProvider ExternalDNSProvider = "azure"
)

type ExternalDNSServiceAccount

type ExternalDNSServiceAccount struct {
	Namespace *corev1.Namespace
}

func (ExternalDNSServiceAccount) Build

type HyperShiftClientClusterRole

type HyperShiftClientClusterRole struct{}

func (HyperShiftClientClusterRole) Build

type HyperShiftClientClusterRoleBinding

type HyperShiftClientClusterRoleBinding struct {
	ClusterRole    *rbacv1.ClusterRole
	ServiceAccount *corev1.ServiceAccount
	GroupName      string
}

func (HyperShiftClientClusterRoleBinding) Build

type HyperShiftClientServiceAccount

type HyperShiftClientServiceAccount struct {
	Namespace *corev1.Namespace
}

func (HyperShiftClientServiceAccount) Build

type HyperShiftMutatingWebhookConfiguration added in v0.1.10

type HyperShiftMutatingWebhookConfiguration struct {
	Namespace *corev1.Namespace
}

func (HyperShiftMutatingWebhookConfiguration) Build added in v0.1.10

type HyperShiftNamespace

type HyperShiftNamespace struct {
	Name                       string
	EnableOCPClusterMonitoring bool
}

func (HyperShiftNamespace) Build

type HyperShiftOperatorClusterRole

type HyperShiftOperatorClusterRole struct {
	EnableCVOManagementClusterMetricsAccess bool
	ManagedService                          string
}

func (HyperShiftOperatorClusterRole) Build

type HyperShiftOperatorClusterRoleBinding

type HyperShiftOperatorClusterRoleBinding struct {
	ClusterRole    *rbacv1.ClusterRole
	ServiceAccount *corev1.ServiceAccount
}

func (HyperShiftOperatorClusterRoleBinding) Build

type HyperShiftOperatorCredentialsSecret

type HyperShiftOperatorCredentialsSecret struct {
	Namespace  *corev1.Namespace
	CredsBytes []byte
	CredsKey   string
}

func (HyperShiftOperatorCredentialsSecret) Build

type HyperShiftOperatorDeployment

type HyperShiftOperatorDeployment struct {
	AdditionalTrustBundle                   *corev1.ConfigMap
	OpenShiftTrustBundle                    *corev1.ConfigMap
	Namespace                               *corev1.Namespace
	OperatorImage                           string
	Images                                  map[string]string
	ServiceAccount                          *corev1.ServiceAccount
	Replicas                                int32
	EnableOCPClusterMonitoring              bool
	EnableCIDebugOutput                     bool
	EnableWebhook                           bool
	EnableValidatingWebhook                 bool
	PrivatePlatform                         string
	AWSPrivateSecret                        *corev1.Secret
	AWSPrivateSecretKey                     string
	AWSPrivateRegion                        string
	OIDCBucketName                          string
	OIDCBucketRegion                        string
	OIDCStorageProviderS3Secret             *corev1.Secret
	OIDCStorageProviderS3SecretKey          string
	MetricsSet                              metrics.MetricsSet
	IncludeVersion                          bool
	UWMTelemetry                            bool
	RHOBSMonitoring                         bool
	MonitoringDashboards                    bool
	CertRotationScale                       time.Duration
	EnableCVOManagementClusterMetricsAccess bool
	EnableDedicatedRequestServingIsolation  bool
	ManagedService                          string
	EnableSizeTagging                       bool
	EnableEtcdRecovery                      bool
	EnableCPOOverrides                      bool
	AROHCPKeyVaultUsersClientID             string
	TechPreviewNoUpgrade                    bool
}

func (HyperShiftOperatorDeployment) Build

type HyperShiftOperatorOIDCProviderS3Secret

type HyperShiftOperatorOIDCProviderS3Secret struct {
	Namespace                      *corev1.Namespace
	OIDCStorageProviderS3CredBytes []byte
	CredsKey                       string
}

func (HyperShiftOperatorOIDCProviderS3Secret) Build

type HyperShiftOperatorPrometheusRoleBinding

type HyperShiftOperatorPrometheusRoleBinding struct {
	Namespace                  *corev1.Namespace
	Role                       *rbacv1.Role
	EnableOCPClusterMonitoring bool
}

func (HyperShiftOperatorPrometheusRoleBinding) Build

type HyperShiftOperatorRole

type HyperShiftOperatorRole struct {
	Namespace *corev1.Namespace
}

func (HyperShiftOperatorRole) Build

func (o HyperShiftOperatorRole) Build() *rbacv1.Role

type HyperShiftOperatorRoleBinding

type HyperShiftOperatorRoleBinding struct {
	Role           *rbacv1.Role
	ServiceAccount *corev1.ServiceAccount
}

func (HyperShiftOperatorRoleBinding) Build

type HyperShiftOperatorService

type HyperShiftOperatorService struct {
	Namespace *corev1.Namespace
}

func (HyperShiftOperatorService) Build

type HyperShiftOperatorServiceAccount

type HyperShiftOperatorServiceAccount struct {
	Namespace *corev1.Namespace
}

func (HyperShiftOperatorServiceAccount) Build

type HyperShiftPrometheusRole

type HyperShiftPrometheusRole struct {
	Namespace *corev1.Namespace
}

func (HyperShiftPrometheusRole) Build

type HyperShiftPullSecret added in v0.1.21

type HyperShiftPullSecret struct {
	Namespace       string
	PullSecretBytes []byte
}

func (HyperShiftPullSecret) Build added in v0.1.21

func (o HyperShiftPullSecret) Build() *corev1.Secret

type HyperShiftReaderClusterRole

type HyperShiftReaderClusterRole struct{}

func (HyperShiftReaderClusterRole) Build

type HyperShiftReaderClusterRoleBinding

type HyperShiftReaderClusterRoleBinding struct {
	ClusterRole *rbacv1.ClusterRole
	GroupName   string
}

func (HyperShiftReaderClusterRoleBinding) Build

type HyperShiftServiceMonitor

type HyperShiftServiceMonitor struct {
	Namespace *corev1.Namespace
}

func (HyperShiftServiceMonitor) Build

type HyperShiftValidatingWebhookConfiguration

type HyperShiftValidatingWebhookConfiguration struct {
	Namespace string
}

func (HyperShiftValidatingWebhookConfiguration) Build

type HypershiftAlertingRule added in v0.1.10

type HypershiftAlertingRule struct {
	Namespace *corev1.Namespace
}

func (HypershiftAlertingRule) Build added in v0.1.10

type HypershiftRecordingRule

type HypershiftRecordingRule struct {
	Namespace *corev1.Namespace
}

func (HypershiftRecordingRule) Build

type KubeSystemRoleBinding added in v0.1.25

type KubeSystemRoleBinding struct {
	Namespace string
}

func (KubeSystemRoleBinding) Build added in v0.1.25

type MonitoringDashboardTemplate added in v0.1.10

type MonitoringDashboardTemplate struct {
	Namespace string
}

func (MonitoringDashboardTemplate) Build added in v0.1.10

Directories

Path Synopsis
hypershift-operator

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL