Giter VIP home page Giter VIP logo

argocd-demo-project-manifests's Introduction

First time setup

Open the kustomization.yaml file, and change every occurance of autobots to your namespace name.

Run make preview or kustomize build . to preview the content here. You can install kustomize from the releases or with brew.

What is Kustomize?

Kustomize is a way to combine, merge, and patch Kubernetes yaml; it's an official kubernetes-sigs project. The best reference on kustomize is the official reference guide.

Intended layout

The intended breakdown is /<project>/<environment>/<application yamls>. The kustomization.yaml files merge together the different resources and apply labels and patches (e.g. configuring the destination cluster & namespace, auto-sync policies, etc)

.
|- project1/
|  |- dev/*
|  |- prod/*
|  \- kustomization.yaml
|
|- project2/
|  |- dev/*
|  |- prod/*
|  \- kustomization.yaml
|
\- kustomization.yaml

The kustomization file will have many labels, patches, etc, but probably the first thing you'll want to do is look at the resources: block in the kustomization files. A resource can be:

  1. A folder with another kustomization.yaml file.
  2. A yaml file
  3. A Url to a yaml file.

Kustomize is simplest when everything is "top-down", but if you need-to/want-to use a resource in a directory above you (i.e. ../folder), you'll need to run kustomize with a special flag

Intended use

This repo is designed with the intention of being a target of an ArgoCD Application. So, we're not applying this manually or with a github action in most circumstances, we're letting ArgoCD automatically apply the content found here.

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.