From 17fc9fd63be4b043fa49a07cb3f979ea5afe012c Mon Sep 17 00:00:00 2001 From: LordMathis Date: Sat, 30 Aug 2025 16:54:58 +0200 Subject: [PATCH] Move velero from apps to infrastructure --- apps/prod/kustomization.yaml | 1 - .../configs}/velero/kustomization.yaml | 3 +-- .../prod => infrastructure/configs}/velero/secret.enc.yaml | 0 infrastructure/controllers/kustomization.yaml | 1 + .../controllers}/velero/kustomization.yaml | 6 +++--- .../controllers}/velero/kustomizeconfig.yaml | 0 .../controllers}/velero/namespace.yaml | 0 .../prod => infrastructure/controllers}/velero/release.yaml | 0 .../controllers}/velero/repository.yaml | 0 .../prod => infrastructure/controllers}/velero/values.yaml | 0 10 files changed, 5 insertions(+), 6 deletions(-) rename {apps/base => infrastructure/configs}/velero/kustomization.yaml (70%) rename {apps/prod => infrastructure/configs}/velero/secret.enc.yaml (100%) rename {apps/prod => infrastructure/controllers}/velero/kustomization.yaml (77%) rename {apps/prod => infrastructure/controllers}/velero/kustomizeconfig.yaml (100%) rename {apps/base => infrastructure/controllers}/velero/namespace.yaml (100%) rename {apps/prod => infrastructure/controllers}/velero/release.yaml (100%) rename {apps/base => infrastructure/controllers}/velero/repository.yaml (100%) rename {apps/prod => infrastructure/controllers}/velero/values.yaml (100%) diff --git a/apps/prod/kustomization.yaml b/apps/prod/kustomization.yaml index 54d3e80..51b5249 100644 --- a/apps/prod/kustomization.yaml +++ b/apps/prod/kustomization.yaml @@ -8,4 +8,3 @@ resources: - ghost - dashboard - homelab-proxy - - velero \ No newline at end of file diff --git a/apps/base/velero/kustomization.yaml b/infrastructure/configs/velero/kustomization.yaml similarity index 70% rename from apps/base/velero/kustomization.yaml rename to infrastructure/configs/velero/kustomization.yaml index a9b3525..9d06518 100644 --- a/apps/base/velero/kustomization.yaml +++ b/infrastructure/configs/velero/kustomization.yaml @@ -3,5 +3,4 @@ kind: Kustomization namespace: velero resources: - - namespace.yaml - - repository.yaml + - secret.enc.yaml diff --git a/apps/prod/velero/secret.enc.yaml b/infrastructure/configs/velero/secret.enc.yaml similarity index 100% rename from apps/prod/velero/secret.enc.yaml rename to infrastructure/configs/velero/secret.enc.yaml diff --git a/infrastructure/controllers/kustomization.yaml b/infrastructure/controllers/kustomization.yaml index ad66983..c947b5a 100644 --- a/infrastructure/controllers/kustomization.yaml +++ b/infrastructure/controllers/kustomization.yaml @@ -6,3 +6,4 @@ resources: - cert-manager - traefik - tailscale + - velero diff --git a/apps/prod/velero/kustomization.yaml b/infrastructure/controllers/velero/kustomization.yaml similarity index 77% rename from apps/prod/velero/kustomization.yaml rename to infrastructure/controllers/velero/kustomization.yaml index 39da3d9..8ac704c 100644 --- a/apps/prod/velero/kustomization.yaml +++ b/infrastructure/controllers/velero/kustomization.yaml @@ -3,8 +3,8 @@ kind: Kustomization namespace: velero resources: - - ../../base/velero - - secret.enc.yaml + - namespace.yaml + - repository.yaml - release.yaml configMapGenerator: @@ -14,4 +14,4 @@ configMapGenerator: - values.yaml configurations: - - kustomizeconfig.yaml + - kustomizeconfig.yaml \ No newline at end of file diff --git a/apps/prod/velero/kustomizeconfig.yaml b/infrastructure/controllers/velero/kustomizeconfig.yaml similarity index 100% rename from apps/prod/velero/kustomizeconfig.yaml rename to infrastructure/controllers/velero/kustomizeconfig.yaml diff --git a/apps/base/velero/namespace.yaml b/infrastructure/controllers/velero/namespace.yaml similarity index 100% rename from apps/base/velero/namespace.yaml rename to infrastructure/controllers/velero/namespace.yaml diff --git a/apps/prod/velero/release.yaml b/infrastructure/controllers/velero/release.yaml similarity index 100% rename from apps/prod/velero/release.yaml rename to infrastructure/controllers/velero/release.yaml diff --git a/apps/base/velero/repository.yaml b/infrastructure/controllers/velero/repository.yaml similarity index 100% rename from apps/base/velero/repository.yaml rename to infrastructure/controllers/velero/repository.yaml diff --git a/apps/prod/velero/values.yaml b/infrastructure/controllers/velero/values.yaml similarity index 100% rename from apps/prod/velero/values.yaml rename to infrastructure/controllers/velero/values.yaml