From cf87b6dcb9d797a11134d28005d53bf6fcef188c Mon Sep 17 00:00:00 2001 From: James Allenby Date: Fri, 2 Jan 2026 21:21:21 +0000 Subject: [PATCH] Test deployment of minecraft --- .pre-commit-config.yaml | 5 +++++ base/apps/minecraft.yaml | 15 +++++++++++++++ base/kustomization.yaml | 4 ++++ 3 files changed, 24 insertions(+) create mode 100644 .pre-commit-config.yaml create mode 100644 base/apps/minecraft.yaml create mode 100644 base/kustomization.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..55792a5 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +repos: + - repo: https://github.com/google/yamlfmt + rev: v0.20.0 + hooks: + - id: yamlfmt diff --git a/base/apps/minecraft.yaml b/base/apps/minecraft.yaml new file mode 100644 index 0000000..958fc0c --- /dev/null +++ b/base/apps/minecraft.yaml @@ -0,0 +1,15 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: minecraft + +spec: + project: default + sources: + - repoURL: https://itzg.github.io/minecraft-server-charts + chart: minecraft + targetRevision: 5.0.0 + destination: + server: https://kubernetes.default.svc + namespace: test + syncPolicy: {} diff --git a/base/kustomization.yaml b/base/kustomization.yaml new file mode 100644 index 0000000..d8e596e --- /dev/null +++ b/base/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - apps/minecraft.yaml