featuregate

package
v0.1.89 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// AROHCPManagedIdentities is a feature gate for enabling HCP components to authenticate with Azure by client certificate
	// owner: @username
	// alpha: v0.1.49
	// beta x.y.z
	AROHCPManagedIdentities featuregate.Feature = "AROHCPManagedIdentities"

	// OpenStack is a feature gate for running clusters on OpenStack.
	// owner: @username
	// alpha: v0.1.49
	// beta: x.y.z
	OpenStack featuregate.Feature = "OpenStack"

	// GCPPlatform enables experimental support for provisioning and managing OpenShift hosted control planes on Google Cloud Platform infrastructure.
	// This feature gate controls GCP-HCP specific cluster provisioning logic, resource management, and integration with GCP services for HyperShift-managed clusters.
	// owner: hcm-gcp-hcp@redhat.com
	// alpha: v0.1.49
	// beta: x.y.z
	GCPPlatform featuregate.Feature = "GCPPlatform"

	// HCPEtcdBackup enables the HCPEtcdBackup CRD for OADP-driven etcd backup orchestration.
	// owner: @jparrill
	// alpha: v0.1.49
	// beta: x.y.z
	HCPEtcdBackup featuregate.Feature = "HCPEtcdBackup"

	// KarpenterOperator gates deploying the karpenter-operator as a standalone component instead of using the embedded karpenter-operator code in HyperShift.
	// Enabled in Default and TechPreviewNoUpgrade. Deployment still requires --enable-standalone-karpenter-operator.
	// owner: openshift-autoscaling
	// alpha: v0.1.79
	// beta: x.y.z
	KarpenterOperator featuregate.Feature = "KarpenterOperator"

	// EtcdSharding enables etcd sharding by resource kind, allowing resources to be
	// routed to dedicated etcd instances for improved performance and isolation.
	// alpha: v0.1.49
	// beta: x.y.z
	EtcdSharding featuregate.Feature = "EtcdSharding"

	// OSStreams enables dual-stream RHEL 9/10 support in NodePool boot image resolution.
	// When enabled, NodePools resolve the RHEL stream dynamically from the release version
	// (e.g., OCP 5.0+ defaults to rhel-10). When disabled, boot images always use rhel-9.
	// owner: @jparrill
	// alpha: v0.1.49
	// default: OCP 5.0
	OSStreams featuregate.Feature = "OSStreams"

	// DeterministicLBIP enables deterministic LoadBalancer IP management for HostedClusters.
	// When enabled, users can specify loadBalancerClass and serviceAnnotations on
	// spec.services entries to control the IP assigned to KAS and other LB-type services.
	// owner: @jparrill
	// alpha: v0.1.49
	// beta: x.y.z
	DeterministicLBIP featuregate.Feature = "DeterministicLBIP"

	// AWSManagedDNS enables CPO-managed Route53 DNS zones for AWS hosted control planes.
	// When enabled, the managedDNS field is available on AWSPlatformSpec, allowing the
	// CPO to create and reconcile ingress DNS zones in the customer's AWS account.
	// owner: @typeid
	// alpha: v0.1.84
	AWSManagedDNS featuregate.Feature = "AWSManagedDNS"

	// KubeletHAProxyRouting gates the kubelet-through-HAProxy routing change on all public
	// HCPs. When enabled, the bootstrap kubeconfig points kubelet at the node-local HAProxy
	// advertise address instead of the KAS LB address, so a Day 2 LB IP change does not
	// strand nodes. Private clusters keep using internal DNS and are unaffected.
	// Registered here for HYPERSHIFT_FEATURESET propagation and Day 2 transition work
	// (CNTRLPLANE-4799/4800). Runtime gate check is in CPO's adaptBootstrapKubeconfigSecret.
	// owner: @jparrill
	// alpha: v0.1.84
	KubeletHAProxyRouting featuregate.Feature = "KubeletHAProxyRouting"
	// IgnitionPayloadSystem gates the re-architected ignition system. In this phase, enabling it
	// (through the TechPreviewNoUpgrade feature set) only installs the IgnitionPayload CRD —
	// nothing consumes the gate at runtime yet. Later phases wire it up so the HO deploys the
	// split ignition-payload-controller + ignition-payload-server (+ proxy) from the HO image and
	// switches the NodePool controller onto the IgnitionPayload path in place of the legacy
	// ignition-server. Fleet-wide selector (no per-HostedCluster opt-in).
	// owner: @muraee
	// alpha: v0.1.84
	IgnitionPayloadSystem featuregate.Feature = "IgnitionPayloadSystem"
)

Define new featuregates here

Variables

This section is empty.

Functions

func ConfigureFeatureSet added in v0.1.58

func ConfigureFeatureSet(featureSet string)

ConfigureFeatureSet is used to configure the feature gates and feature set based on the provided featureSet. The provided featureSet must be a known feature set name. ConfigureFeatureSet should only be called once on startup. ConfigureFeatureSet is not thread-safe.

func FeatureSet added in v0.1.58

func FeatureSet() configv1.FeatureSet

FeatureSet returns the currently configured feature set.

func Gate added in v0.1.58

Gate returns the currently configured featuregates. Useful for determining what feature gates are enabled or configuring the feature gates. Example: Gate().Enabled("Foo")

Types

This section is empty.

Jump to

Keyboard shortcuts

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