Coder Social home page Coder Social logo

aclevername / tf-controller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weaveworks/tf-controller

0.0 2.0 0.0 1.7 MB

A GitOps Terraform controller for Kubernetes

License: Apache License 2.0

Dockerfile 0.69% Makefile 1.91% Go 95.54% Smarty 1.67% Shell 0.19%

tf-controller's Introduction

TF-controller: GitOps Terraform at your own pace

TF-controller is an experimental controller for Flux to reconcile Terraform resources in the GitOps way. With the power of Flux together with Terraform, TF-controller allows you to GitOps-ify infrastructure, and application resources, in the Kubernetes and Terraform universe, at your own pace.

"At your own pace" means you don't need to GitOps-ify everything at once.

TF-controller offers many GitOps models:

  1. Full GitOps Automation Model: GitOps your Terraform resources from the provision steps to the enforcement steps, like a whole EKS cluster.
  2. Hybrid GitOps Automation Model: GitOps parts of your existing infrastructure resources. For example, you have an existing EKS cluster. You can choose to GitOps only its nodegroup, or its security group.
  3. State Enforcement Model: You have a TFSTATE file, and you'd like to use GitOps enforce it, without changing anything else.
  4. Drift Detection Model: You have a TFSTATE file, and you'd like to use GitOps just for drift detection, so you can decide to do things later when a drift occurs.

Quickstart and documentation

To get started check out this guide on how to GitOps your Terraform resources with TF-controller and Flux.

Check out the documentation for a list of features and use cases.

Stargazers over time

Stargazers over time

Roadmap

Q1 2022

  • Support the GitOps way to "apply"
  • Drift detection
  • Support auto-apply so that the reconciliation detect drifts and always make changes
  • Interop with Kustomization controller's health checks
  • Terraform outputs as Kubernetes Secrets
  • Secret and ConfigMap as input variables
  • Support the GitOps way to "plan" / "re-plan"
  • Support a multi-tenant model
  • Test coverage reaching 70%

Q2 2022

  • Performance and scalability
  • Interop with Notification controller's Events and Alert
  • Test coverage reaching 75%

Q3 2022

  • Write back and show plan in PRs
  • Test coverage reaching 80%

tf-controller's People

Contributors

chanwit avatar fsequeira1 avatar phoban01 avatar tomhuang12 avatar

Watchers

 avatar  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.