added mcpacks application to server packwiz pack.toml files. initial
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# 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:
|
||||
repoURL: https://tea.ahmza.com/ahmza/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
|
||||
Reference in New Issue
Block a user