Giter VIP home page Giter VIP logo

gitops's Introduction

Testing Crossplane with Argo CD

This repo will configure Argo CD to install Crossplane and Gatekeeper into the cluster Argo CD is running in. Secondly, it installs a Crossplane configuration for Azure Cloud that defines XRDs and Composition to deploy an AKS cluster. It then makes an Azure Cloud config (aks-cluster) available for creation of the AKS cluster.

For MacOS only, you can use the shell script file located here to automate the process.

/platform contains the XRD, Composition, and Provider configs.

/aks contains an example XR manifest to create an AKS cluster

  • You can configure the Argo CD aks-cluster Applicaiton to use aks/xrc or aks/xr to see the difference between starting with an XRC or XR (default aks/xr)

/policy contains a simple example Gatekeeper config.

In a production model, these three directories would reside in separate repositories.

/argoapps contains application deifnitions for argoCD to install Crossplane UXP and Gatekeepr, with additional apps that consume the platform, aks, amd policy directories.

Blog post that provides some background on this repo

Additional post that delves into the XRC vs. XR topic in more detail

Prior to using this repository, you will need a K8s cluster with Crossplane and Argo CD installed. You will also need to create a ProviderConfig and a secret for the provider to authenticate to your Azure tenant. Directions for all of this are available at Argo CD and Upbound docs. For a fully relaized GitOps model, we could add something like SealedSecrets to also inlcude the ProviderConfig and Secret within the repo. For directions on installing Crossplane and configuring the Azure Provider, see here and here. For directions of installing Argo CD, see here. Altrnatively, if you are on MacOS you can use the shell scripts located here to install Crossplane and Argo CD preconfigured for this repo.

gitops's People

Contributors

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