From ad3644cedfc4e63f3aa4cc744a241820d2ed1245 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Wed, 25 Sep 2024 21:39:46 +1000 Subject: [PATCH 1/2] disable adguard-home, plex enable jellyfin --- .../adguard-home/env/k3s-cluster/{config.json => config.json.bak} | 0 apps/jellyfin/env/k3s-cluster/{config.json.bak => config.json} | 0 apps/plex/env/k3s-cluster/{config.json => config.json.bak} | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename apps/adguard-home/env/k3s-cluster/{config.json => config.json.bak} (100%) rename apps/jellyfin/env/k3s-cluster/{config.json.bak => config.json} (100%) rename apps/plex/env/k3s-cluster/{config.json => config.json.bak} (100%) diff --git a/apps/adguard-home/env/k3s-cluster/config.json b/apps/adguard-home/env/k3s-cluster/config.json.bak similarity index 100% rename from apps/adguard-home/env/k3s-cluster/config.json rename to apps/adguard-home/env/k3s-cluster/config.json.bak diff --git a/apps/jellyfin/env/k3s-cluster/config.json.bak b/apps/jellyfin/env/k3s-cluster/config.json similarity index 100% rename from apps/jellyfin/env/k3s-cluster/config.json.bak rename to apps/jellyfin/env/k3s-cluster/config.json diff --git a/apps/plex/env/k3s-cluster/config.json b/apps/plex/env/k3s-cluster/config.json.bak similarity index 100% rename from apps/plex/env/k3s-cluster/config.json rename to apps/plex/env/k3s-cluster/config.json.bak From a44e2c9c7366c2e5ee5f478080633666f986ed67 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Wed, 25 Sep 2024 21:40:22 +1000 Subject: [PATCH 2/2] enable apps services --- projects/k3s-cluster-app.yaml | 138 +++++++++++++++++----------------- 1 file changed, 69 insertions(+), 69 deletions(-) diff --git a/projects/k3s-cluster-app.yaml b/projects/k3s-cluster-app.yaml index 27b53c5..27a2eeb 100644 --- a/projects/k3s-cluster-app.yaml +++ b/projects/k3s-cluster-app.yaml @@ -1,69 +1,69 @@ -#apiVersion: argoproj.io/v1alpha1 -#kind: ApplicationSet -#metadata: -# annotations: -# argocd.argoproj.io/sync-wave: "4" -# creationTimestamp: null -# name: applications -# namespace: argocd -#spec: -# generators: -# - git: -# files: -# - path: apps/**/k3s-cluster/config.json -# repoURL: https://github.com/3dwardch3ng/home-cluster-ops.git -# requeueAfterSeconds: 20 -# revision: "" -# template: -# metadata: {} -# spec: -# destination: {} -# project: "" -# source: -# repoURL: "" -# - git: -# files: -# - path: apps/**/k3s-cluster/config_dir.json -# repoURL: https://github.com/3dwardch3ng/home-cluster-ops.git -# requeueAfterSeconds: 20 -# revision: "" -# template: -# metadata: {} -# spec: -# destination: {} -# project: "" -# source: -# directory: -# exclude: '{{ exclude }}' -# include: '{{ include }}' -# jsonnet: {} -# recurse: true -# repoURL: "" -# syncPolicy: {} -# template: -# metadata: -# labels: -# app.kubernetes.io/managed-by: argocd -# app.kubernetes.io/name: '{{ appName }}' -# name: '{{ userGivenName }}' -# namespace: '{{ namespace }}' -# spec: -# destination: -# namespace: '{{ destNamespace }}' -# server: '{{ destServer }}' -# ignoreDifferences: -# - group: argoproj.io -# jsonPointers: -# - /status -# kind: Application -# project: k3s-cluster -# source: -# path: '{{ srcPath }}' -# repoURL: '{{ srcRepoURL }}' -# targetRevision: '{{ srcTargetRevision }}' -# syncPolicy: -# automated: -# allowEmpty: true -# prune: true -# selfHeal: true -#status: {} \ No newline at end of file +apiVersion: argoproj.io/v1alpha1 +kind: ApplicationSet +metadata: + annotations: + argocd.argoproj.io/sync-wave: "4" + creationTimestamp: null + name: applications + namespace: argocd +spec: + generators: + - git: + files: + - path: apps/**/k3s-cluster/config.json + repoURL: https://github.com/3dwardch3ng/home-cluster-ops.git + requeueAfterSeconds: 20 + revision: "" + template: + metadata: {} + spec: + destination: {} + project: "" + source: + repoURL: "" + - git: + files: + - path: apps/**/k3s-cluster/config_dir.json + repoURL: https://github.com/3dwardch3ng/home-cluster-ops.git + requeueAfterSeconds: 20 + revision: "" + template: + metadata: {} + spec: + destination: {} + project: "" + source: + directory: + exclude: '{{ exclude }}' + include: '{{ include }}' + jsonnet: {} + recurse: true + repoURL: "" + syncPolicy: {} + template: + metadata: + labels: + app.kubernetes.io/managed-by: argocd + app.kubernetes.io/name: '{{ appName }}' + name: '{{ userGivenName }}' + namespace: '{{ namespace }}' + spec: + destination: + namespace: '{{ destNamespace }}' + server: '{{ destServer }}' + ignoreDifferences: + - group: argoproj.io + jsonPointers: + - /status + kind: Application + project: k3s-cluster + source: + path: '{{ srcPath }}' + repoURL: '{{ srcRepoURL }}' + targetRevision: '{{ srcTargetRevision }}' + syncPolicy: + automated: + allowEmpty: true + prune: true + selfHeal: true +status: {} \ No newline at end of file