Skip to content
Snippets Groups Projects
Verified Commit 55bb2196 authored by Ricardo Rocha's avatar Ricardo Rocha
Browse files

update main app yaml file

parent 2989e44b
No related branches found
No related tags found
No related merge requests found
---
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: bootstrap
namespace: argocd
spec:
destinations:
- namespace: '*'
server: '*'
sourceRepos:
- '*'
clusterResourceWhitelist:
- group: '*'
kind: '*'
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: bootstrap
namespace: argocd
spec:
generators:
- git:
repoURL: https://gitlab.cern.ch/kubernetes/automation/101/argocd.git
revision: master
directories:
- path: bootstrap/*
- path: bootstrap/vault
exclude: true
- path: bootstrap/thanos
exclude: true
template:
metadata:
name: '{{path.basename}}'
spec:
project: bootstrap
source:
repoURL: https://gitlab.cern.ch/kubernetes/automation/101/argocd.git
targetRevision: master
path: '{{path}}'
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
allowEmpty: true
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
kind: Application
metadata:
name: services
name: clusters
namespace: argocd
spec:
generators:
- git:
repoURL: https://gitlab.cern.ch/kubernetes/automation/101/argocd.git
revision: master
directories:
- path: services/*
template:
metadata:
name: '{{path.basename}}'
spec:
project: default
source:
repoURL: https://gitlab.cern.ch/kubernetes/automation/101/argocd.git
targetRevision: master
path: '{{path}}'
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
allowEmpty: true
project: default
source:
repoURL: https://gitlab.cern.ch/kubernetes/automation/101/argocd.git
targetRevision: master
path: clusters
destination:
server: https://kubernetes.default.svc
namespace: workflows
syncPolicy:
automated:
allowEmpty: true
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
---
# I have to think how to deploy bootstrap/* to argocd namespace, but bootstrap/thanos to thanos namespace
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: thanos
name: apps
namespace: argocd
spec:
destination:
namespace: thanos
server: https://kubernetes.default.svc
project: bootstrap
project: default
source:
path: bootstrap/thanos
repoURL: https://gitlab.cern.ch/kubernetes/automation/101/argocd.git
targetRevision: master
path: app
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
allowEmpty: true
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment