Giter Club home page Giter Club logo

argocd-installation-guide's Introduction

Argocd Installation Guide & Vault Plugin Configuration (AVP)

1- Create namespace.

kubectl create namespace argocd

2- Apply rgocd manifests.

kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml

3- Download the argocd-repo-server.yaml file and execute bellow.

kubectl patch deploy argocd-repo-server -n argocd --patch-file <your yml> # e.g. argocd-repo-server.yaml
kubectl patch deploy argocd-repo-server -n argocd --patch-file argocd-repo-server.yaml

4- Download the argocd-cm.yaml configmap file and execute bellow.

kubectl patch configmap argocd-cm -n argocd --patch-file <your yml> # e.g. argocd-cm.yaml
kubectl patch configmap argocd-cm -n argocd --patch-file argocd-cm.yaml

5- We need to create a secret yaml file as bellow or you can download it from here argocd-vault-plugin-credentials.yaml but follow the Notes to know how to get the values in stringData.

apiVersion: v1
kind: Secret
metadata:
  name: argocd-vault-plugin-credentials ## Make sure this matches the same envFrom you put in the argocd-repo-server deployment
  namespace: argocd
type: Opaque
stringData:
  VAULT_ADDR: http://vault.vault:8200 ## Your vault address You can find this by running the command 'env' inside your vault pod and find VAULT_CLUSTER_ADDR=
  AVP_TYPE: vault
  AVP_AUTH_TYPE: approle
  AVP_ROLE_ID: role_id ## The role_id you copied earlier
  AVP_SECRET_ID: secret_id ## The secret_id you copied earlier
kubectl apply -f argocd-vault-plugin-credentials.yaml

Notes:

  • The value of VAULT_ADDR if you are deploy the Vault & ARgocd in same cluster put the value as http:/<vault-svc-name>/<vault-namespace>:<svc port>
  • The value of AVP_AUTH_TYPE & AVP_AUTH_TYPE keep as is.
  • The value of AVP_ROLE_ID & AVP_SECRET_ID check the following Dockument to know how get it.

6- Execute bellow command to restart all argocd pods.

kubectl delete --all pods --namespace=argocd

Congratulation go to your argocd UI and do the same pictures bellow.

alt text

alt text

alt text

alt text

alt text

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.