Files
k8s-starter-pack/apps/mcpacks.yaml
T

33 lines
1016 B
YAML
Raw Normal View History

# This Argo CD Application makes the Minecraft pack host part of the same
# GitOps loop as the rest of the cluster. The image itself is built from the
# separate public mcpacks repository; this repository owns only the desired
# Kubernetes deployment and the exact image revision that should run.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: mcpacks
namespace: argocd
# The service is stateless because every published pack is baked into its
# container image. Cascading deletion is therefore safe: no world data or
# user-created content would be deleted with the Application.
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
2026-09-04 12:42:43 +00:00
repoURL: https://tea.ahmza.com/ahmza.com/k8s-starter-pack.git
targetRevision: main
path: apps/mcpacks
destination:
server: https://kubernetes.default.svc
namespace: mcpacks
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true