we try a different way

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2025-07-28 14:23:12 +00:00
parent 6786991273
commit 24b9b19cea

View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: gameserver-operator
namespace: argocd # This should be the namespace where Argo CD is installed
spec:
project: default # The Argo CD project, 'default' unless you've created others
source:
repoURL: 'https://github.com/templarfelix/gameserver-operator.git'
targetRevision: 'main'
path: 'config/default'
destination:
server: 'https://kubernetes.default.svc' # URL of the Kubernetes API server
namespace: 'default' # The namespace in Kubernetes where to deploy the application
syncPolicy:
automated: # Optional: enable automatic sync
selfHeal: true
prune: true # This will prune resources that are not in git anymore