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