From 6cf2e3536578d8fb98077ba44ed59f86b1251c6c Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Sun, 23 Mar 2025 17:07:12 -0500 Subject: [PATCH] Fix Flux Kustomization path and set target namespace for Gitea --- apps/production/gitea/kustomization.yaml | 1 + apps/production/gitea/namespace.yaml | 4 ++++ clusters/production/kustomization-gitea.yaml | 1 + 3 files changed, 6 insertions(+) create mode 100644 apps/production/gitea/namespace.yaml diff --git a/apps/production/gitea/kustomization.yaml b/apps/production/gitea/kustomization.yaml index cef9dc2..750fdb1 100644 --- a/apps/production/gitea/kustomization.yaml +++ b/apps/production/gitea/kustomization.yaml @@ -3,6 +3,7 @@ kind: Kustomization metadata: name: gitea-overlay resources: + - namespace.yaml - deployment.yaml - service.yaml - pvc.yaml diff --git a/apps/production/gitea/namespace.yaml b/apps/production/gitea/namespace.yaml new file mode 100644 index 0000000..09a988f --- /dev/null +++ b/apps/production/gitea/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: gitea diff --git a/clusters/production/kustomization-gitea.yaml b/clusters/production/kustomization-gitea.yaml index 51d717a..f3fcc12 100644 --- a/clusters/production/kustomization-gitea.yaml +++ b/clusters/production/kustomization-gitea.yaml @@ -6,6 +6,7 @@ metadata: spec: interval: 10m path: "./apps/production/gitea" + targetNamespace: gitea prune: true sourceRef: kind: GitRepository