mirror of
https://github.com/zoriya/snow.git
synced 2025-12-06 07:16:19 +00:00
Add argocd
This commit is contained in:
10
README.md
Normal file
10
README.md
Normal 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
17
apps/apps.yaml
Normal 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
21
apps/argocd.yaml
Normal 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
|
||||
Reference in New Issue
Block a user