|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+apiVersion: argoproj.io/v1alpha1
|
|
|
2
|
+kind: AppProject
|
|
|
3
|
+metadata:
|
|
|
4
|
+ name: blog-kaisers-info
|
|
|
5
|
+ namespace: argocd
|
|
|
6
|
+ # Finalizer that ensures that project is not deleted until it is not referenced by any application
|
|
|
7
|
+ finalizers:
|
|
|
8
|
+ - resources-finalizer.argocd.argoproj.io
|
|
|
9
|
+spec:
|
|
|
10
|
+ description: Blog for kaisers.info
|
|
|
11
|
+ clusterResourceWhitelist:
|
|
|
12
|
+ - group: '*'
|
|
|
13
|
+ kind: '*'
|
|
|
14
|
+ destinations:
|
|
|
15
|
+ - name: '*'
|
|
|
16
|
+ namespace: '*'
|
|
|
17
|
+ server: '*'
|
|
|
18
|
+ namespaceResourceWhitelist:
|
|
|
19
|
+ - group: '*'
|
|
|
20
|
+ kind: '*'
|
|
|
21
|
+ sourceRepos:
|
|
|
22
|
+ - '*'
|
|
|
23
|
+---
|
|
|
24
|
+apiVersion: v1
|
|
|
25
|
+kind: Secret
|
|
|
26
|
+metadata:
|
|
|
27
|
+ name: repo-k8s-kaisers-info
|
|
|
28
|
+ namespace: argocd
|
|
|
29
|
+ labels:
|
|
|
30
|
+ argocd.argoproj.io/secret-type: repository
|
|
|
31
|
+stringData:
|
|
|
32
|
+ url: https://git.kaisers.info/simonkaiser/k8s-kaisers-info
|
|
|
33
|
+---
|
|
|
34
|
+apiVersion: argoproj.io/v1alpha1
|
|
|
35
|
+kind: Application
|
|
|
36
|
+metadata:
|
|
|
37
|
+ name: blog-kaisers-info
|
|
|
38
|
+ namespace: argocd
|
|
|
39
|
+spec:
|
|
|
40
|
+ destination:
|
|
|
41
|
+ name: in-cluster
|
|
|
42
|
+ namespace: argocd
|
|
|
43
|
+ project: blog-kaisers-info
|
|
|
44
|
+ source:
|
|
|
45
|
+ repoURL: https://git.kaisers.info/simonkaiser/k8s-kaisers-info
|
|
|
46
|
+ path: blog-kaisers-info
|
|
|
47
|
+ targetRevision: master
|
|
|
48
|
+ syncPolicy:
|
|
|
49
|
+ automated:
|
|
|
50
|
+ prune: true
|
|
|
51
|
+ selfHeal: true
|