restructure for argo

This commit is contained in:
2025-12-30 17:41:26 +11:00
parent c1e8b9bf35
commit bf94b90d9d
6 changed files with 25 additions and 21 deletions

View File

@@ -1,21 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: oadp-backups
namespace: openshift-gitops
spec:
project: default
source:
repoURL: <YOUR_REPO_URL>
targetRevision: main
path: gitops/oadp/base
destination:
server: https://kubernetes.default.svc
namespace: openshift-adp
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=false
- ServerSideApply=true

View File

@@ -0,0 +1,25 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: oadp
namespace: openshift-gitops
annotations:
argocd.argoproj.io/sync-wave: "-5"
spec:
orphanedResources:
warn: false # Disable warning
project: infrastructure
destination:
server: https://kubernetes.default.svc
source:
repoURL: https://gitea.apilab.us/cscott/oadp.git
targetRevision: main
path: manifests
syncPolicy:
automated:
prune: true
selfHeal: false
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
- PruneLast=true