Terraform module for deploying Kubernetes Argo CD and Argo Rollouts inside a pre-existing EKS cluster.
module "argocd" {
source = "git::https://github.com/DNXLabs/terraform-aws-eks-argocd.git?ref=0.1.0"
enabled = true
}
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
Name | Version |
---|---|
terraform | >= 0.13 |
aws | >= 3.13, < 4.0 |
helm | >= 1.0, < 3.0 |
kubernetes | >= 1.10.0, < 3.0.0 |
Name | Version |
---|---|
helm | >= 1.0, < 3.0 |
kubernetes | >= 1.10.0, < 3.0.0 |
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 |
[ |
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 |
No output.
Module managed by DNX Solutions.
Apache 2 Licensed. See LICENSE for full details.