Skip to content
Community

logo

OpenFeature Operator#

Chart Name Version App version
open-feature-operator v0.8.9 v0.8.9

Introduction#

The Open Feature Operator is a Kubernetes-native operator that enables applications to consume feature flags in a standardized way using the OpenFeature specification. The operator injects a sidecar container into application pods, allowing them to communicate with a flagd service and evaluate feature flags at runtime.

By running as a Kubernetes operator, Open Feature Operator simplifies the lifecycle management of feature flag configuration and sidecar injection, making feature flag usage consistent and portable across clusters and environments.

For full project documentation, refer to the upstream OpenFeature Operator documentation.

Prerequisites#

  • A Kubernetes cluster managed by k0rdent.
  • cert-manager installed on the target cluster.
  • The OpenFeature Operator installed on the target cluster before deploying workloads that rely on feature flags.
  • Applications must be compatible with the OpenFeature SDK and sidecar-based flag evaluation model.

Prerequisites#

Deploy k0rdent v1.8.0: QuickStart

Install template to k0rdent#

helm upgrade --install open-feature-operator oci://ghcr.io/k0rdent/catalog/charts/kgst --set "chart=open-feature-operator:v0.8.9" -n kcm-system

Verify service template#

kubectl get servicetemplates -A
# NAMESPACE    NAME                            VALID
# kcm-system   open-feature-operator-v0-8-9    true

Deploy service template#

apiVersion: k0rdent.mirantis.com/v1beta1
kind: MultiClusterService
metadata:
  name: openfeature
spec:
  clusterSelector:
    matchLabels:
      group: demo
  serviceSpec:
    services:
    - template: cert-manager-1-18-2
      name: cert-manager
      namespace: openfeature
      values: |
        cert-manager:
          crds:
            enabled: true
    - template: open-feature-operator-v0-8-9
      name: open-feature-operator
      namespace: openfeature