about summary refs log tree commit diff
path: root/cd
diff options
context:
space:
mode:
Diffstat (limited to 'cd')
-rw-r--r--cd/third-party-apps.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/cd/third-party-apps.yaml b/cd/third-party-apps.yaml
new file mode 100644
index 0000000..e583c81
--- /dev/null
+++ b/cd/third-party-apps.yaml
@@ -0,0 +1,28 @@
+apiVersion: argoproj.io/v1alpha1
+kind: ApplicationSet
+metadata:
+  name: third-party-apps-applicationset
+  namespace: default
+spec:
+  generators:
+  - list:
+      elements:
+      - chart: gitea
+        path: third-party-apps/gitea
+  template:
+    metadata:
+      name: '{{chart}}'
+    spec:
+      project: default
+      source:
+        repoURL: 'https://github.com/makefunstuff/k3s-lab'
+        targetRevision: HEAD
+        path: '{{path}}'
+      destination:
+        server: 'https://kubernetes.default.svc'
+        namespace: apps
+      syncPolicy:
+        automated:
+          prune: true
+          selfHeal: true
+