Documentation
¶
Index ¶
Constants ¶
View Source
const ( // owner: @mjudeikis // alpha: v0.1 // Enables workspace mounts via frontProxy. WorkspaceMounts featuregate.Feature = "WorkspaceMounts" // owner: @mjudeikis // alpha: v0.1 // Enables cache apis and controllers. CacheAPIs featuregate.Feature = "CacheAPIs" // owner: @mjudeikis // alpha: v0.1 // Enables VirtualWorkspace urls on APIExport. This enables to use Deprecated APIExport VirtualWorkspace urls. // This is a temporary feature to ease the migration to the new VirtualWorkspace urls. EnableDeprecatedAPIExportVirtualWorkspacesUrls featuregate.Feature = "EnableDeprecatedAPIExportVirtualWorkspacesUrls" // owner: @xrstf // alpha: v0.1 // Enables per-workspace authentication using WorkspaceAuthenticationConfiguration objects in order to admit // users into workspaces from foreign OIDC issuers. This feature can be individually enabled on each shard and // the front-proxy. WorkspaceAuthentication featuregate.Feature = "WorkspaceAuthentication" // owner: @ntnn // alpha: v0.1 // Enables migrating logical clusters between shards. LogicalClusterMigration featuregate.Feature = "LogicalClusterMigration" )
View Source
const ( // StorageVersionAPI enables the storage version API (alpha since k8s 1.20, off by default). // When enabled in kcp, WithStorageVersionPrecondition is applied in the handler chain to // block write requests to resources whose storage versions have not yet converged across // all kcp shards during a rolling upgrade. // See: https://github.com/kcp-dev/kubernetes/pull/185 StorageVersionAPI = genericfeatures.StorageVersionAPI )
Re-export upstream feature gates used by kcp server logic so callers import only this package instead of mixing kcp and upstream feature imports. Mirrored from k8s.io/apiserver/pkg/features.
Variables ¶
View Source
var DefaultFeatureGate = utilfeature.DefaultFeatureGate
DefaultFeatureGate exposes the upstream feature gate, but with our gate setting applied.
Functions ¶
func KnownFeatures ¶
func KnownFeatures() []string
func NewFlagValue ¶
NewFlagValue returns a wrapper to be used for a pflag flag value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.