Giter Club home page Giter Club logo

terraform-aws-eks-argocd's Introduction

terraform-aws-eks-argocd

Lint Status LICENSE

Terraform module for deploying Kubernetes Argo CD and Argo Rollouts inside a pre-existing EKS cluster.

Usage

module "argocd" {
  source = "git::https://github.com/DNXLabs/terraform-aws-eks-argocd.git?ref=0.1.0"

  enabled = true
}

See more examples of usage.

Login

The initial password is autogenerated with the pod name of the ArgoCD API server:

ARGO_PWD=`kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d`

In order to access the Argo CD server URL, we are going to use the kubectl port-forward command to access the application.

kubectl port-forward --address 0.0.0.0 -n argocd service/argo-cd-argocd-server 8001:443

export ARGOCD_SERVER=kubectl get svc argocd-server -n argocd -o json | jq --raw-output .status.loadBalancer.ingress[0].hostname

Using admin as login and the autogenerated password:

argocd login localhost:8001 --username admin --password $ARGO_PWD --insecure

You should get as an output:

'admin' logged in successfully

Requirements

Name Version
terraform >= 0.13
aws >= 3.13, < 4.0
helm >= 1.0, < 3.0
kubernetes >= 1.10.0, < 3.0.0

Providers

Name Version
helm >= 1.0, < 3.0
kubernetes >= 1.10.0, < 3.0.0

Inputs

Name Description Type Default Required
create_namespace Whether to create Kubernetes namespace with name defined by namespace. bool true no
enabled Variable indicating whether deployment is enabled. bool true no
helm_chart_repo Argo CD repository name. string "https://argoproj.github.io/argo-helm" no
helm_services n/a list
[
{
"chart_version": "3.26.12",
"name": "argo-cd",
"release_name": "argo-cd",
"settings": {}
},
{
"chart_version": "2.5.0",
"name": "argo-rollouts",
"release_name": "argo-rollouts",
"settings": {}
}
]
no
mod_dependency Dependence variable binds all AWS resources allocated by this module, dependent modules reference this variable. any null no
namespace Kubernetes namespace to deploy Argo CD Helm chart. string "argocd" no
settings Additional settings which will be passed to the Helm chart values. map {} no

Outputs

No output.

Authors

Module managed by DNX Solutions.

License

Apache 2 Licensed. See LICENSE for full details.

terraform-aws-eks-argocd's People

Contributors

adenot avatar arthurbdiniz avatar brunodasilvalenga avatar caiovfernandes avatar jrpradojr avatar mosampaio 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.