Deploy our applications using ArgoCD.
FIXME
- uses helm chart for now
We use the ArgoCD Vault plugin to integrate application secrets.
The encrypted secrets to load into vault are here:
ansible-vault encrypt gitops/secrets/vault-rainforest
ansible-vault decrypt gitops/secrets/vault-rainforest
Load them into vault.
rainforest-ci-cd
oc -n rainforest-ci-cd apply -f gitops/argocd/cluster-dev/rainforest-ci-cd-dev-app-of-apps.yaml
daintree-dev
oc -n rainforest-ci-cd apply -f gitops/argocd/daintree-dev-app-of-apps.yaml
ArgoCD controller has a cycle of 3min. To speed things up we can sync changes as soon as things hit this git repo. Add the webhook to this github repo to point to ArgoCD:
echo https://$(oc get route argocd-server --template='{{ .spec.host}}'/api/webhook)