From 88b417c100fe284a28122710f0021bad46e740cf Mon Sep 17 00:00:00 2001 From: Carlos Santana Date: Fri, 27 Oct 2023 01:43:32 -0400 Subject: [PATCH] update readme Signed-off-by: Carlos Santana --- patterns/gitops/getting-started-argocd/README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/patterns/gitops/getting-started-argocd/README.md b/patterns/gitops/getting-started-argocd/README.md index d785463306..68d9b5f05b 100644 --- a/patterns/gitops/getting-started-argocd/README.md +++ b/patterns/gitops/getting-started-argocd/README.md @@ -1,6 +1,6 @@ # ArgoCD on Amazon EKS -This example shows how to deploy Amazon EKS with addons configured via ArgoCD +This example shows how to deploy Amazon EKS with addons configured via ArgoCD using the GitOps Bridge Pattern Deploy EKS Cluster ```shell @@ -13,6 +13,15 @@ Get `kubectl` config, and run the output terraform output -raw configure_kubectl ``` +Terraform added the GitOps Bridge Metadata in the ArgoCD Secret. +The annotations contains the metadata for the addons helm charts. +The labels contains an easy way to enable or disable an addon for the cluster. +```shell +kubectl get secret -n argocd -l argocd.argoproj.io/secret-type=cluster -o jsonpath='{.metadata.annotations}' +kubectl get secret -n argocd -l argocd.argoproj.io/secret-type=cluster -o jsonpath='{.metadata.labels}' +``` + + Deploy Addons using ArgoCD ```shell kubectl apply -f bootstrap/addons.yaml