diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..c75be77 --- /dev/null +++ b/.envrc @@ -0,0 +1,2 @@ +export AWS_PROFILE=tw +export AWS_REGION=ap-southeast-1 diff --git a/.terraform.lock.hcl b/.terraform.lock.hcl index f9588ec..e7cb815 100644 --- a/.terraform.lock.hcl +++ b/.terraform.lock.hcl @@ -40,6 +40,25 @@ provider "registry.terraform.io/hashicorp/cloudinit" { ] } +provider "registry.terraform.io/hashicorp/helm" { + version = "2.6.0" + hashes = [ + "h1:rGVucCeYAqklKupwoLVG5VPQTIkUhO7WGcw3WuHYrm8=", + "zh:0ac248c28acc1a4fd11bd26a85e48ab78dd6abf0f7ac842bf1cd7edd05ac6cf8", + "zh:3d32c8deae3740d8c5310136cc11c8afeffc350fbf88afaca0c34a223a5246f5", + "zh:4055a27489733d19ca7fa2dfce14d323fe99ae9dede7d0fea21ee6db0b9ca74b", + "zh:58a8ed39653fd4c874a2ecb128eccfa24c94266a00e349fd7fb13e22ad81f381", + "zh:6c81508044913f25083de132d0ff81d083732aba07c506cc2db05aa0cefcde2c", + "zh:7db5d18093047bfc4fe597f79610c0a281b21db0d61b0bacb3800585e976f814", + "zh:8269207b7422db99e7be80a5352d111966c3dfc7eb98511f11c8ff7b2e813456", + "zh:b1d7ababfb2374e72532308ff442cc906b79256b66b3fe7a98d42c68c4ddf9c5", + "zh:ca63e226cbdc964a5d63ef21189f059ce45c3fa4a5e972204d6916a9177d2b44", + "zh:d205a72d60e8cc362943d66f5bcdd6b6aaaa9aab2b89fd83bf6f1978ac0b1e4c", + "zh:db47dc579a0e68e5bfe3a61f2e950e6e2af82b1f388d1069de014a937962b56a", + "zh:f569b65999264a9416862bca5cd2a6177d94ccb0424f3a4ef424428912b9cb3c", + ] +} + provider "registry.terraform.io/hashicorp/kubernetes" { version = "2.12.1" constraints = ">= 2.10.0" diff --git a/README.md b/README.md new file mode 100644 index 0000000..38682b0 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ + aws eks update-kubeconfig --name ex-hello-eks + +https://argo-cd.readthedocs.io/en/stable/getting_started/ + + kubectl create namespace argocd + kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/core-install.yaml + +Install argocd client + + argocd login --core + +Run a service: + + kubectl config set-context --current --namespace=argocd + argocd app create guestbook --repo https://github.com/argoproj/argocd-example-apps.git --path guestbook --dest-server https://kubernetes.default.svc --dest-namespace default + argocd app get guestbook + argocd app sync guestbook