110 lines
2.3 KiB
YAML
110 lines
2.3 KiB
YAML
# Phase 2 — Storage/observability chain continued: loki, grafana, forgejo, forgejo-runner
|
|
|
|
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: loki
|
|
namespace: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "1"
|
|
spec:
|
|
project: homelab
|
|
source:
|
|
repoURL: https://grafana.github.io/helm-charts
|
|
chart: loki
|
|
targetRevision: latest
|
|
helm:
|
|
valueFiles:
|
|
- k8s/logging/loki-values.yaml
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: logging
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
|
|
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: grafana
|
|
namespace: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "2"
|
|
spec:
|
|
project: homelab
|
|
source:
|
|
repoURL: https://grafana.github.io/helm-charts
|
|
chart: grafana
|
|
targetRevision: latest
|
|
helm:
|
|
valueFiles:
|
|
- k8s/logging/grafana-values.yaml
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: logging
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
|
|
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: forgejo
|
|
namespace: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "2"
|
|
spec:
|
|
project: homelab
|
|
source:
|
|
repoURL: https://dl.gitea.com/charts/
|
|
chart: gitea
|
|
targetRevision: "~10"
|
|
helm:
|
|
valueFiles:
|
|
- k8s/talos-ci-cd/forgejo-values.yaml
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: cicd
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
|
|
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: forgejo-runner
|
|
namespace: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "3"
|
|
spec:
|
|
project: homelab
|
|
source:
|
|
repoURL: https://forgejo.riotpiao.homelab.com/riotpiao.com/homelab.git
|
|
targetRevision: main
|
|
path: k8s/talos-ci-cd/charts/forgejo-runner
|
|
helm:
|
|
valueFiles:
|
|
- values.yaml
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: cicd
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|