feat: add system-upgrade controller and plan k3s plan

This commit is contained in:
cătălin 2024-02-16 20:07:42 +01:00
commit 8d828e2246
No known key found for this signature in database
7 changed files with 89 additions and 8 deletions

View file

@ -20,7 +20,6 @@ spec:
helm:
valuesObject:
grafana:
replicas: 1
enabled: true
persistence:
type: pvc
@ -57,13 +56,16 @@ spec:
- host: loki.fuku
paths:
- /
prometheus:
enabled: true
isDefault: true
server:
persistentVolume:
enabled: true
extraScrapeConfigs: |
- job_name: 'argocd'
static_configs:
- targets: ["argocd-server-metrics.argocd.svc.cluster.local:8083"]
alertmanager:
persistence:
enabled: true

View file

@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: system-upgrade
namespace: argocd
spec:
destination:
name: ''
namespace: 'system-upgrade'
server: "https://kubernetes.default.svc"
sources:
- repoURL: https://github.com/rancher/system-upgrade-controller.git
targetRevision: v0.13.2
path: manifests/
- repoURL: https://git.roboces.dev/catalin/fukuops.git
path: k8s/services/argo
targetRevision: main
syncPolicy:
automated: { }
project: management