Application Definitions
Example application definitions for ArgoCD.
less than a minute
The following example ArgoCD definitions are created when using ArgoCD to manage the Edge Delta agent configuration.
edgedelta_app.yml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: edagent
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: 'git@github.com:exampleuser/examplerepo.git'
path: manifests/edge_delta_app
destination:
server: 'https://kubernetes.default.svc'
namespace: edgedelta
syncPolicy:
syncOptions:
- CreateNamespace=true:
automated:
prune: true
selfHeal: true
edgedelta_agent_config_app.yml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: edconfig
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: 'git@github.com:exampleuser/examplerepo.git'
path: manifests/edge_delta_config
destination:
server: 'https://kubernetes.default.svc'
namespace: edgedelta
syncPolicy:
syncOptions:
- CreateNamespace=true:
automated:
prune: true
selfHeal: true
api_secret_app.yml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: apisecret
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: 'git@github.com:exampleuser/examplerepo.git'
path: manifests/api
destination:
server: 'https://kubernetes.default.svc'
namespace: edgedelta
syncPolicy:
syncOptions:
- CreateNamespace=true:
automated:
prune: true
selfHeal: true
flog_app.yml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: flog
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: 'git@github.com:exampleuser/examplerepo.git'
path: manifests/workload
destination:
server: 'https://kubernetes.default.svc'
namespace: flog
syncPolicy:
syncOptions:
- CreateNamespace=true:
automated:
prune: true
selfHeal: true