we try a different way
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
6786991273
commit
24b9b19cea
1 changed files with 18 additions and 0 deletions
18
everything-app/linuxGSMOperator.yaml
Normal file
18
everything-app/linuxGSMOperator.yaml
Normal 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
|
Loading…
Add table
Reference in a new issue