apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  finalizers:
  - resources-finalizer.argocd.argoproj.io
  name: open5gs-core
  namespace: argocd
spec:
  project: default
  destination:
    namespace: CHANGE_ME
    name: in-cluster
  source:
    repoURL: https://harbor.patras5g.eu/chartrepo/patras5g
    targetRevision: v2.6.3
    chart: open5gs-core
    helm:
      values: |
        upfs:
         upf1:
          dnn: internet
          addr: 10.45.0.0/16
          upfSvcIp: CHANGE_ME
        amf:
         mcc: 001
         mnc: 01
         tac: 100
        mongo:
         URL: https://gitlab.patras5g.eu/patras5g-public/open5gs-subscribers/-/raw/main/default.json
        ServiceOrder: CHANGE_ME
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
      allowEmpty: false
    syncOptions:
    - Validate=false
    - CreateNamespace=true
    - PrunePropagationPolicy=foreground
    - PruneLast=true
    - RespectIgnoreDifferences=true