File tree Expand file tree Collapse file tree 7 files changed +88
-0
lines changed Expand file tree Collapse file tree 7 files changed +88
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : kustomize.config.k8s.io/v1beta1
3+ kind : Kustomization
4+ resources :
5+ - ./project.yaml
6+ - ./prod_application.yaml
Original file line number Diff line number Diff line change 1+ apiVersion : argoproj.io/v1alpha1
2+ kind : Application
3+ metadata :
4+ name : apps--backpan-syncer
5+ namespace : argocd
6+ spec :
7+ project : backpan-syncer
8+ source :
9+ repoURL : https://github.com/metacpan/metacpan-k8s
10+ targetRevision : main
11+ path : apps/backpan-syncer/environments/prod
12+ destination :
13+ server : https://kubernetes.default.svc
14+ namespace : apps--backpan-syncer
Original file line number Diff line number Diff line change 1+ apiVersion : argoproj.io/v1alpha1
2+ kind : AppProject
3+ metadata :
4+ name : backpan-syncer
5+ namespace : argocd
6+ spec :
7+ # Project description
8+ description : Syncing of BackPan + CPAN.org updates to B2
9+
10+ sourceRepos :
11+ - ' *'
12+
13+ clusterResourceWhitelist :
14+ - group : ' '
15+ kind : ' Namespace'
16+
17+ destinations :
18+ - namespace : apps--backpan-syncer
19+ server : https://kubernetes.default.svc
20+ name : in-cluster
Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : apps/v1
3+ kind : Deployment
4+ metadata :
5+ name : backpan-syncer
6+ labels :
7+ app : backpan-syncer
8+ spec :
9+ replicas : 1
10+ selector :
11+ matchLabels :
12+ app : backpan-syncer
13+ template :
14+ metadata :
15+ labels :
16+ app : backpan-syncer
17+ spec :
18+ containers :
19+ - name : backpan-syncer
20+ image : metacpan/metacpan-backpan-syncer:latest
21+ imagePullPolicy : Always
22+ # Should change to /sbin/run.sh once data is sorted
23+ command : ["sh"]
24+ args :
25+ - " -c"
26+ - " /usr/bin/sleep infinity"
27+ # This container needs to use fuse so needs privileges
28+ securityContext :
29+ privileged : true
Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : kustomize.config.k8s.io/v1beta1
3+ kind : Kustomization
4+ resources :
5+ - ./deployment.yaml
Original file line number Diff line number Diff line change 1+ apiVersion : kustomize.config.k8s.io/v1beta1
2+ kind : Kustomization
3+ namespace : apps--backpan-syncer
4+ resources :
5+ - namespace.yaml
6+ - ../../base/
7+ images :
8+ - name : metacpan/metacpan-backpan-syncer
9+ newTag : latest
Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : v1
3+ kind : Namespace
4+ metadata :
5+ name : apps--backpan-syncer
You can’t perform that action at this time.
0 commit comments