Stage separate Minecraft GitOps applications without starting game pods

This commit is contained in:
feedc0de
2026-10-21 12:57:18 +02:00
parent cebd66fc00
commit 877af8496c
5 changed files with 156 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: minecraft-atm10
namespace: argocd
spec:
project: minecraft
sources:
- repoURL: https://brunner.ninja/charts
chart: minecraft-atm10
targetRevision: 6.6.0-0
helm:
releaseName: atm10
valueFiles: [$values/apps/minecraft-atm10/values.yaml]
- repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
targetRevision: main
ref: values
destination:
server: https://kubernetes.default.svc
namespace: atm10
syncPolicy:
automated:
enabled: true
prune: false
selfHeal: true
syncOptions:
- CreateNamespace=true
+27
View File
@@ -0,0 +1,27 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: minecraft-paper
namespace: argocd
spec:
project: minecraft
sources:
- repoURL: https://brunner.ninja/charts
chart: minecraft-paper
targetRevision: 26.3.166-0
helm:
releaseName: paper
valueFiles: [$values/apps/minecraft-paper/values.yaml]
- repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
targetRevision: main
ref: values
destination:
server: https://kubernetes.default.svc
namespace: mcserver
syncPolicy:
automated:
enabled: true
prune: false
selfHeal: true
syncOptions:
- CreateNamespace=true
+40
View File
@@ -0,0 +1,40 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: minecraft
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-1"
spec:
description: Separately versioned Minecraft servers and their private runtime state
sourceRepos:
- https://brunner.ninja/charts
- https://code.brunner.ninja/feedc0de/homelab-gitops.git
destinations:
- namespace: atm10
server: https://kubernetes.default.svc
- namespace: mcserver
server: https://kubernetes.default.svc
namespaceResourceWhitelist:
- group: ""
kind: ConfigMap
- group: ""
kind: PersistentVolumeClaim
- group: ""
kind: Service
- group: ""
kind: ServiceAccount
- group: apps
kind: Deployment
- group: apps
kind: StatefulSet
- group: networking.k8s.io
kind: NetworkPolicy
- group: policy
kind: PodDisruptionBudget
- group: monitoring.coreos.com
kind: ServiceMonitor
- group: traefik.io
kind: IngressRoute
- group: traefik.io
kind: Middleware