Giter Club home page Giter Club logo

gitops-iac-demo's Introduction

gitops-iac-demo

IaC Deployment

About

This repo is part of three GitOps CI/CD demo repos:

This IaC repo contains Bicep files for deploying Azure Services (AKS, ACR and Managed Identity) and installing ArgoCD over AKS using GitHub Action.

It's important to understand the role of Managed Identity which enable us the option to Pull Images from the ACR without the need to store any passwords anywhere (read more here).

Once deployment completed, the outputs: resource-group, AKS names committed to a files under Global folder and ACR name committed to a file under dynamic folder under the related Helm chart folder in ArgoCD repo.

As part of the GitHub Actions, we are executing IaC code scanning using Checkov to make sure our IaC code compliance with our security standards.

GitOps Architecture

alt text

How to configure this repo

  • Fork this repo
  • Establish a trust between GitHub.com and your Azure subscription by configuring OpenID connect, follow this article.
  • Create a PAT in your GitHub account, follow this article (we will refer this value as ACTIONS_TOKEN).
  • Generate a public SSH key to be used for AKS deployment (we will refer this value as PUBLIC_KEY).
  • Add the following GitHub Action secrets: AZURE_CLIENT_ID, AZURE_SUBSCRIPTION_ID, AZURE_TENANT_ID (the values should taken after following OpenID connect article), ACTIONS_TOKEN and PUBLIC_KEY.

gitops-iac-demo's People

Contributors

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