Giter VIP home page Giter VIP logo

cluster-config-pins's Introduction

Introduction

This repository is used to manage commit pins to enable promotion of changes across clusters. The repo retrieves the application objects from the cluster-config repository and then patches them to use specific commit hashes or tags to "pin" the application to a specific revision.

To manage promotions the pins can be updated on a cluster-by-cluster basis to manage the revisions.

How it Works

We are using ACM to manage the bootstrap process for new clusters, ACM has a policy that deploys the OpenShift GitOps operator plus a bootstrap application for a specific cluster. This bootstrap application points to a cluster specific folder under bootstrap/overlays that contains the commit pins for that cluster.

The kustomization for each cluster loads the configuration from the matching path in the cluster-config repository, using a kustomize remote reference, and patches the target revision in the Argo CD Applications for specific pins. In the cluster-config repo we label the applications with a repo label so we can have kustomize match the pins on a per repo basis.

Diagramming the flow, it looks like this:

ACM Policy (acm-hub-bootstrap HEAD)
     ↓
Cluster Config Pins (cluster-config-pins HEAD)
     ↓
Cluster Config (cluster-config TAG)

cluster-config-pins's People

Contributors

gnunn1 avatar

Watchers

 avatar

Forkers

aplphago

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.