restructure for argo
This commit is contained in:
@@ -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
|
||||
25
bootstrap/oadp-application.yaml
Normal file
25
bootstrap/oadp-application.yaml
Normal 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
|
||||
Reference in New Issue
Block a user