| .woodpecker | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| Dockerfile | ||
| LICENSE | ||
| README.md | ||
| renovate.json | ||
ArgoCD with kustomize-pass
This is a build-your-own-image of ArgoCD with the kustomize-pass plugin preinstalled. This effectively enables ArgoCD users to extract secrets from pass transparently and have them deployed by ArgoCD.
Supported ArgoCD Versions
The latest ArgoCD release is automatically rebuilt and published to the GitHub image registry. However, this really only includes the latest ArgoCD release. If you or your organisation needs another version, you will have to build the image yourself or use one of the older image tags if GitHub hasn't deleted it yet.
Usage
-
This repository contains the source Dockerfile to build an image derived from
quay.io/argoproj/argocd. You can either use the Dockerfile to build your own image or use the provided image fromghcr.io/lilioid/argocd-kustomize-pass.This repository does not contain helm charts or other ArgoCD related manifests. This means that, in order to use this, you will have to follow the upstream ArgoCD instructions in order to deploy it but instead of using the normal image, you will have to use this repositories image instead for the
argocd-repo-serverdeployment. -
Additionally, you will need to configure ArgoCD a bit to allow kustomize-pass to work correctly:
- Create a gpg secret key and provide it to ArgoCD inside its gpg-keys volume. The file must be named like the key fingerprint. On startup, ArgoCD will automatically load all key files (public and secret) from here into a keyring.
- Set the environment variable
XDG_DATA_HOMEto some place that kustomize-pass can write files. This is required because the ArgoCD manifests run the container with a read-only filesystem by default. A possible value would beXDG_DATA_HOME=/tmp/data. - Se the environment variable
GNUPGHOME=/app/config/gpg/keysbecause that is where ArgoCD accumulates all keys during startup.
Usage Example
This project is used by Viva con Agua to deploy its ArgoCD. You can view the deployment configuration at the Viva-con-Agua/argocd-deploy repository.