Move Minecraft PostgreSQL to CloudNativePG
This commit is contained in:
1 parent
4b0afad165
commit
f73bc60cba
9 files changed
+73
-13
No files matched your search
@@ -106,6 +106,7 @@ resources:
|
||||
- mumble-namespace.yaml
|
||||
- mumble-postgresql.yaml
|
||||
- minecraft-project.yaml
|
||||
- minecraft-cnpg.yaml
|
||||
- minecraft-paper.yaml
|
||||
- minecraft-atm10.yaml
|
||||
- bitnami-helm-repo.yaml
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: minecraft-cnpg
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "0"
|
||||
spec:
|
||||
project: minecraft
|
||||
source:
|
||||
repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
targetRevision: main
|
||||
path: apps/minecraft-postgresql/cluster
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mcserver
|
||||
syncPolicy:
|
||||
automated:
|
||||
enabled: true
|
||||
prune: true
|
||||
selfHeal: true
|
||||
@@ -5,23 +5,17 @@ metadata:
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: minecraft
|
||||
sources:
|
||||
- repoURL: registry-1.docker.io/bitnamicharts
|
||||
chart: postgresql
|
||||
targetRevision: 18.12.4
|
||||
helm:
|
||||
releaseName: paper
|
||||
valueFiles: [$values/apps/minecraft-postgresql/values.yaml]
|
||||
- repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
targetRevision: main
|
||||
ref: values
|
||||
source:
|
||||
repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
targetRevision: main
|
||||
path: apps/minecraft-postgresql/service
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mcserver
|
||||
syncPolicy:
|
||||
automated:
|
||||
enabled: true
|
||||
prune: false
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -31,6 +31,8 @@ spec:
|
||||
kind: Deployment
|
||||
- group: apps
|
||||
kind: StatefulSet
|
||||
- group: postgresql.cnpg.io
|
||||
kind: Cluster
|
||||
- group: networking.k8s.io
|
||||
kind: NetworkPolicy
|
||||
- group: policy
|
||||
|
||||
Reference in new issue
Block a user