Add argocd

This commit is contained in:
2025-06-29 13:51:11 +02:00
parent 9a2d2c58ab
commit 5fa1b297da
4 changed files with 50 additions and 0 deletions

10
README.md Normal file
View File

@@ -0,0 +1,10 @@
## Setup
```bash
talhelper genconfig
talosctl kubeconfig -n 192.168.0.200 -e 192.168.0.200
talosctl bootstrap
helm install argocd oci://ghcr.io/argoproj/argo-helm/argo-cd -n argocd --create-namespace
kubectl apply -f ./apps/apps.yaml
```

17
apps/apps.yaml Normal file
View File

@@ -0,0 +1,17 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: apps
namespace: argocd
spec:
project: default
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
source:
repoURL: https://github.com/zoriya/snow
targetRevision: HEAD
path: ./apps

21
apps/argocd.yaml Normal file
View File

@@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argocd
namespace: argocd
spec:
project: default
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
source:
repoURL: https://github.com/argoproj/argo-helm
targetRevision: argo-cd-8.1.2
path: charts/argo-cd
helm:
values: |
global:
domain: argocd.sdg.moe

View File

@@ -5,6 +5,8 @@ pkgs.mkShell {
talosctl
talhelper
age
argocd
kubernetes-helm
];
TALOSCONFIG = "./clusterconfig/talosconfig";