From 0e4bbfd94011fd45a07d4df98e23ea551e02577d Mon Sep 17 00:00:00 2001 From: Nik Afiq Date: Sat, 21 Mar 2026 14:08:59 +0900 Subject: [PATCH] argocd migration: A1 - media, core, homeassistant apps --- argocd/apps/core.yaml | 23 +++++++++++++++++++++++ argocd/apps/homeassistant.yaml | 20 ++++++++++++++++++++ argocd/apps/media.yaml | 20 ++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 argocd/apps/core.yaml create mode 100644 argocd/apps/homeassistant.yaml create mode 100644 argocd/apps/media.yaml diff --git a/argocd/apps/core.yaml b/argocd/apps/core.yaml new file mode 100644 index 0000000..6b9a0cd --- /dev/null +++ b/argocd/apps/core.yaml @@ -0,0 +1,23 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: core + namespace: argocd +spec: + project: default + source: + repoURL: https://gitea.nik4nao.com/nik/homelab.git + targetRevision: main + path: manifests/core + directory: + recurse: true + include: '*.yaml' + destination: + server: https://kubernetes.default.svc + namespace: default + syncPolicy: + automated: + prune: false + selfHeal: true + syncOptions: + - CreateNamespace=true \ No newline at end of file diff --git a/argocd/apps/homeassistant.yaml b/argocd/apps/homeassistant.yaml new file mode 100644 index 0000000..8b024bc --- /dev/null +++ b/argocd/apps/homeassistant.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: homeassistant + namespace: argocd +spec: + project: default + source: + repoURL: https://gitea.nik4nao.com/nik/homelab.git + targetRevision: main + path: manifests/homeassistant + destination: + server: https://kubernetes.default.svc + namespace: homeassistant + syncPolicy: + automated: + prune: false + selfHeal: true + syncOptions: + - CreateNamespace=true \ No newline at end of file diff --git a/argocd/apps/media.yaml b/argocd/apps/media.yaml new file mode 100644 index 0000000..f884ab5 --- /dev/null +++ b/argocd/apps/media.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: media + namespace: argocd +spec: + project: default + source: + repoURL: https://gitea.nik4nao.com/nik/homelab.git + targetRevision: main + path: manifests/media + destination: + server: https://kubernetes.default.svc + namespace: jellyfin + syncPolicy: + automated: + prune: false + selfHeal: true + syncOptions: + - CreateNamespace=true \ No newline at end of file