Giter Site home page Giter Site logo

argocd-sops's Introduction

argocd-sops

Argocd installation with sops, then can using kustomize to manage cloud native yaml file, then all the application can be managed by Argocd.

Argocd Installation

Step 1: Create argocd ns

$ kubectl create ns argocd

Step 2: Generating the gpg key

Running the gpg --full-generate-key command to generate gpg key.

Step 3: Export the gpg private key

Running the gpg --armor --export-secret-keys <your gpg identity key id> command to export the gpg secret key and save to deploy-key.asc file

$ gpg --armor --export-secret-keys <your gpg identity key id > deploy-key.asc

Step 4: Create gpg secret

$ kubectl -n argocd create secret generic deploy-pgp-key --from-file=deploy-key.asc

Step 5: Install argocd

$ kubectl -n argocd apply -f install.yaml

Then checking the pods

$ kubectl -n argocd get pods
NAME                                  READY   STATUS    RESTARTS   AGE
argocd-application-controller-0       1/1     Running   0          5h3m
argocd-dex-server-5dd657bd9-7k6dg     1/1     Running   0          5h3m
argocd-redis-759b6bc7f4-vtv76         1/1     Running   0          5h3m
argocd-repo-server-86d495c7c4-9rb2v   1/1     Running   0          5h3m
argocd-server-859b4b5578-4t5m2        1/1     Running   0          5h3m

Step 6: Setup ingress

$ kubectl -n argocd apply -f ingress.yaml

Then you can get the ingress.

$ kubectl -n argocd get ing
NAME             CLASS    HOSTS             ADDRESS          PORTS     AGE
argocd-ingress   <none>   your.devops.com   x.x.x.x          80, 443   25h

Login url is https://your.devops.com

argocd-sops's People

Contributors

majinghe 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.