Declarative configuration
There are multiple ways to install Argo CD in a cluster. For one, we can directly apply its manifests, which are located at https://github.com/argoproj/argo-cd/blob/master/manifests/install.yaml – this installs the latest version. However, there are also manifests that are generated for each version, such as https://github.com/argoproj/argo-cd/blob/v2.0.0/manifests/install.yaml. Using kubectl
, you will need to apply the raw manifests, so the link will be a little bit different (you will need to click on the Raw button after going to the preceding links):
kubectl apply -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.0.0/manifests/install.yaml
Use the official Helm chart located at https://github.com/argoproj/argo-helm/tree/master/charts/argo-cd. This option was already covered in Chapter 2, Getting Started with Argo CD, along with AutoPilot.
Another possibility is that, with Kustomize, similar to what’s in the Argo CD repository...