Giter Club home page Giter Club logo

feature-flag-operator's Introduction

Feature Flag Operator

The Feature Flag Operator is a Kubernetes operator written in Go that integrates with various feature flag management services. It automatically fetches feature flags from the configured services via HTTP calls and injects them into Kubernetes resources.

Supported Feature Flag Solutions

The Feature Flag Operator currently supports the following feature flag management services:

Features

  • Automatically fetches feature flags from configured feature flag management services.
  • Injects fetched feature flags into Kubernetes resources.

Installation

Prerequisites

  • Go (version 1.21+)
  • Kubernetes cluster (minikube, kind, or any other Kubernetes cluster)
  • Access to the configured feature flag management service(s)

Installation Steps

  1. Clone the repository:

    git clone https://github.com/usysrc/feature-flag-operator
  2. Navigate to the repository directory:

    cd feature-flag-operator
  3. Build the operator:

    go build -o ffo .
  4. Run the operator:

    ./ffo

Usage

  1. Ensure that the operator is running in your Kubernetes cluster.

  2. Create or update your Kubernetes resources (e.g., Deployments, Pods) with annotations to specify the feature flags you want to enable/disable.

  3. The operator will automatically fetch feature flags from the configured feature flag management services and inject them into the annotations of your Kubernetes resources.

Configuration

Not yet implemented: You can configure the operator by providing environment variables or configuration files. Below are the supported configuration options:

  • FLIPT_BASE_URL: Base URL of the Flipt service.

Contributing

Contributions to the Feature Flag Operator are welcome! If you encounter any issues or have suggestions for improvements, feel free to open an issue or submit a pull request on GitHub.

License

This project is licensed under the MIT License - see the LICENSE file for details.

feature-flag-operator's People

Contributors

usysrc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.