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. // 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 // beta: x.y.z OSStreams featuregate.Feature = "OSStreams" )
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
func Gate() featuregate.MutableFeatureGate
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.
Click to show internal directories.
Click to hide internal directories.