Repo for managing Argo CD via GitOps. This repository contains the following folders:
applications
: Argo applications. One for each team pointing at their own repository and some general applications for managing the three folders of this repositoryargocd
: Self managing Argo installation and configurationprojects
: One Argo project for each team for clean organization and to distribute access rights
- Look here if there are necessary actions when upgrading to the new version
- Change the version in
Chart.yaml
- run
helm dep update argocd
from the root of the repo - Push the modified
Chart.yaml
,Chart.lock
and any changes from step 1, if there are any - Argo now upgrades itself
If you make a commit, which breaks something from argo, and it fails to manage itself back to a healthy state with a new commit, than you have to fix argo with helm from your local computer.
# first fix the error
# then check the diff, the file is very long. It is normal, that all the labels which
# state, that argo manages the resources, will be deleted. Argo will put them back later.
# Just make sure, that nothing else ist being destroyed.
helm template -n argocd argocd . | kubectl diff -n argocd -f - > diff.yaml
# then commit the fix to git, so that argo has the same manifests, when it works again after helm upgrade
# then run the following command, to apply EVERYTHING. If you want to be safer, than just run everything
# up to the pipe (|) and apply manually just the resources, which you really want to patch (e.g. just a secret
# or a config map):
helm template -n argocd argocd . | kubectl apply -n argocd -f -