No description
- Mustache 66%
- Go Template 32.4%
- Shell 1.6%
This PR contains the following updates: | Package | Update | Change | |---|---|---| | registry.gitlab.com/xarif/docker/argocd-sops-cmp | pinDigest | → `f02b7a1` | --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xODIuNCIsInVwZGF0ZWRJblZlciI6IjQzLjE4Mi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Reviewed-on: #7 |
||
|---|---|---|
| charts/argo-cd-9.5.14/argo-cd | ||
| resources | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .sops.yaml | ||
| kustomization.yaml | ||
| kustomize-build.sh | ||
| port-forward-argocd.sh | ||
| README.md | ||
| renovate.json | ||
| values.yaml | ||
Xarif ArgoCD deployments
https://argo-cd.readthedocs.io/en/stable/
Repository Layout
This is a Kubernetes deployment repo managed by ArgoCD.
Edit kustomization.yaml, values.yaml, resources/, or patches/ directly.
ArgoCD syncs from the repository root.
To render manifests locally (uses the same image as CI and ArgoCD):
./kustomize-build.sh
preparations - sops age key
Create SOPS Age key (or recover it from keepass)
mkdir ~/.sops
age-keygen -o ~/.sops/key.txt
chmod 0700 ~/.sops
chmod 0600 ~/.sops/key.txt
echo 'export SOPS_AGE_KEY_FILE=$HOME/.sops/key.txt' >> ~/.zshrc # or ~/.bashrc
initial deployment
Install ArgoCD from this repository. This command must eventually be executed twice, because on first execution there will be CRD installed used by the second execution.
kubectl create namespace argocd
kubectl create secret generic argocd-sops-age-key-file --from-file=key.txt=${HOME}/.sops/key.txt -n argocd
kustomize build --enable-helm . | kubectl apply -f -
- Then install https://gitlab.com/xarif/kubernetes/argocd-apps
- Then recover data: https://gitlab.com/xarif/kubernetes/k8up
connect to ArgoCD
Run/inspect the script port-forward-argocd.sh