1. Install Argo CD with werf plugin

Install Argo CD.

Enable the werf sidecar plugin:

  1. Edit deploy/argocd-repo-server:
     kubectl -n argocd edit deploy argocd-repo-server
    
  2. Add the sidecar container and the apparmor annotation:
     # ...
     metadata:
       annotations:
         "container.apparmor.security.beta.kubernetes.io/werf-argocd-cmp-sidecar": "unconfined"
       # ...
     spec:
       # ...
       template:
         # ...
         spec:
           containers:
           - image: registry.werf.io/werf/werf-argocd-cmp-sidecar:2-alpha
             imagePullPolicy: Always
             name: werf-argocd-cmp-sidecar
             volumeMounts:
             - mountPath: /var/run/argocd
               name: var-files
             - mountPath: /home/argocd/cmp-server/plugins
               name: plugins
             - mountPath: /tmp
               name: tmp
    

2. Install Argo CD Image Updater

Install Argo CD Image Updater with the “continuous deployment of OCI Helm chart type application” patch:

kubectl apply -n argocd -f https://raw.githubusercontent.com/werf/3p-argocd-image-updater/master/manifests/install.yaml
prev
next