Code Monkey home page Code Monkey logo

argocd-day2's Introduction

OCP Cluster Configuration with GitOps example

This repository serves as an example of how ArgoCD can be used to configure an OpenShift Cluster.

In this example, the projects (Applications) are separated by categories. Another option would be to separate the CRD declaration by namespace (Having one folder by namespace)

The label argocd.argoproj.io/sync-options: Prune=false has been added to some of the resources, stops ArgoCD from deleting global cluster configuration resources, when auto-sync is enabled.

Api Configuration

CRDs that configure the API default certificate.

argocd app create api-config --repo https://github.com/maemmanu/argocd-day2.git \
--path=api-config --dest-server=https://kubernetes.default.svc
Identity Provider

CRDs that configure an HTPasswd Identity Provider.

argocd app create identity-provider --repo https://github.com/maemmanu/argocd-day2.git \
--path=identity-provider --dest-server=https://kubernetes.default.svc
Infrastructure Nodes

Machineset CRD to create infrastructure nodes.

argocd app create infra-nodes --repo https://github.com/maemmanu/argocd-day2.git \
--path=infra-nodes --dest-server=https://kubernetes.default.svc
Ingress Config

Ingress Certificate configuration.

argocd app create ingress-config --repo https://github.com/maemmanu/argocd-day2.git \
--path=ingress-config --dest-server=https://kubernetes.default.svc
Logging

Installation of Cluster Logging Operator and Elasticsearch and Configuration of the logging stack.

argocd app create logging --repo https://github.com/maemmanu/argocd-day2.git \
--path=logging --dest-server=https://kubernetes.default.svc
Project Request

Configuration of a Project Request Template that includes the creation of Quotas, Limit Ranges and Network Policies upon the creation of a new project

argocd app create project-request --repo https://github.com/maemmanu/argocd-day2.git \
--path=project-request --dest-server=https://kubernetes.default.svc

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.