From cfbb4a5ab86e75e48be1905422273027268cea31 Mon Sep 17 00:00:00 2001 From: Nik Afiq Date: Sat, 21 Mar 2026 14:20:12 +0900 Subject: [PATCH] argocd migration: A2 - traefik, cert-manager, pihole, pihole-debian apps --- argocd/apps/cert-manager.yaml | 26 ++++++++++++++++++++++++++ argocd/apps/pihole-debian.yaml | 26 ++++++++++++++++++++++++++ argocd/apps/pihole.yaml | 26 ++++++++++++++++++++++++++ argocd/apps/traefik.yaml | 26 ++++++++++++++++++++++++++ 4 files changed, 104 insertions(+) create mode 100644 argocd/apps/cert-manager.yaml create mode 100644 argocd/apps/pihole-debian.yaml create mode 100644 argocd/apps/pihole.yaml create mode 100644 argocd/apps/traefik.yaml diff --git a/argocd/apps/cert-manager.yaml b/argocd/apps/cert-manager.yaml new file mode 100644 index 0000000..d8f59b2 --- /dev/null +++ b/argocd/apps/cert-manager.yaml @@ -0,0 +1,26 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: cert-manager + namespace: argocd +spec: + project: default + sources: + - repoURL: https://charts.jetstack.io + chart: cert-manager + targetRevision: v1.19.4 + helm: + valueFiles: + - $values/values/cert-manager.yaml + - repoURL: https://gitea.nik4nao.com/nik/homelab.git + targetRevision: main + ref: values + destination: + server: https://kubernetes.default.svc + namespace: cert-manager + syncPolicy: + automated: + prune: false + selfHeal: true + syncOptions: + - CreateNamespace=true \ No newline at end of file diff --git a/argocd/apps/pihole-debian.yaml b/argocd/apps/pihole-debian.yaml new file mode 100644 index 0000000..34da1c5 --- /dev/null +++ b/argocd/apps/pihole-debian.yaml @@ -0,0 +1,26 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: pihole-debian + namespace: argocd +spec: + project: default + sources: + - repoURL: https://mojo2600.github.io/pihole-kubernetes/ + chart: pihole + targetRevision: 2.35.0 + helm: + valueFiles: + - $values/values/pihole-debian.yaml + - repoURL: https://gitea.nik4nao.com/nik/homelab.git + targetRevision: main + ref: values + destination: + server: https://kubernetes.default.svc + namespace: pihole + syncPolicy: + automated: + prune: false + selfHeal: false + syncOptions: + - CreateNamespace=true \ No newline at end of file diff --git a/argocd/apps/pihole.yaml b/argocd/apps/pihole.yaml new file mode 100644 index 0000000..38d327c --- /dev/null +++ b/argocd/apps/pihole.yaml @@ -0,0 +1,26 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: pihole + namespace: argocd +spec: + project: default + sources: + - repoURL: https://mojo2600.github.io/pihole-kubernetes/ + chart: pihole + targetRevision: 2.35.0 + helm: + valueFiles: + - $values/values/pihole.yaml + - repoURL: https://gitea.nik4nao.com/nik/homelab.git + targetRevision: main + ref: values + destination: + server: https://kubernetes.default.svc + namespace: pihole + syncPolicy: + automated: + prune: false + selfHeal: false + syncOptions: + - CreateNamespace=true \ No newline at end of file diff --git a/argocd/apps/traefik.yaml b/argocd/apps/traefik.yaml new file mode 100644 index 0000000..1304407 --- /dev/null +++ b/argocd/apps/traefik.yaml @@ -0,0 +1,26 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: traefik + namespace: argocd +spec: + project: default + sources: + - repoURL: https://helm.traefik.io/traefik + chart: traefik + targetRevision: 39.0.5 + helm: + valueFiles: + - $values/values/traefik.yaml + - repoURL: https://gitea.nik4nao.com/nik/homelab.git + targetRevision: main + ref: values + destination: + server: https://kubernetes.default.svc + namespace: traefik + syncPolicy: + automated: + prune: false + selfHeal: true + syncOptions: + - CreateNamespace=true \ No newline at end of file