Provision the cluster:
kind create cluster --config argocd/environments/kind/scripts/kind-cluster-config.yaml
Use any one of the CNI modules listed below.
Download Cilium container image and load it to all Kind nodes:
docker pull cilium/cilium:v1.15.0 && kind load docker-image cilium/cilium:v1.15.0 --name kind
Install Cilium:
pushd argocd/apps/cilium/ && helm dependency build && popd
helm template cilium argocd/apps/cilium/ --namespace kube-system -f argocd/apps/cilium/environments/kind/values.yaml | kubectl -n kube-system apply -f -
Add private key for ArgoCD repo:
kubectl create namespace argoproj && kubectl -n argoproj create secret generic argocd-repo-creds-ssh-creds [email protected]:NIXKnight/ArgoCD-Demo.git --from-file=sshPrivateKey=$HOME/.ssh/id_rsa -o json --dry-run=client | jq '.metadata.labels |= {"argocd.argoproj.io/secret-type": "repo-creds"}' | kubectl apply -f -
Install ArgoCD:
pushd argocd/apps/argoproj/ && helm dependency build && popd
helm template argoproj argocd/apps/argoproj/ --namespace argoproj -f argocd/apps/argoproj/environments/kind/values.yaml | kubectl -n argoproj apply -f -
Deploy apps with ArgoCD:
kustomize build argocd/environments/kind/ | kubectl apply -f -