A feature flag provider stores feature-flag definitions and supplies or evaluates their values for applications. OpenFeature standardizes this interaction so services can consume flags without coupling their code to a particular provider. section 7.3.4 section 7.3.5
A provider-based implementation separates application code from flag operations:
- flagd hosts feature-flag definitions and watches a Kubernetes ConfigMap containing complex flag data. section 7.3.4
- Services include the OpenFeature SDK, which standardizes flag consumption and evaluation, including flag types and enabled states. section 7.3.5
- Changing the provider does not require changing application code, allowing platform teams to control storage, fetching, and management centrally. section 7.3.4 section 7.3.5
Conference application with flagd
A Go service uses the OpenFeature Go SDK to evaluate an eventsEnabled flag. The flag defines all, decisions-only, and none variants, while flagd supplies the definitions from a Kubernetes ConfigMap. section 7.3.4
