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