Deduplicate gitea namespace: root references only CR; fix apiVersion

This commit is contained in:
Brad Stein 2025-08-06 22:49:41 -05:00
parent a1830fcf1e
commit 07f99dae60
3 changed files with 16 additions and 5 deletions

View File

@ -0,0 +1,15 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: gitea
namespace: flux-system
spec:
interval: 10m
path: ./services/gitea
targetNamespace: gitea
prune: true
sourceRef:
kind: GitRepository
name: flux-system
namespace: flux-system
wait: true

View File

@ -3,4 +3,4 @@ kind: Kustomization
resources: resources:
- gotk-components.yaml - gotk-components.yaml
- gotk-sync.yaml - gotk-sync.yaml
- ../../services/gitea - kustomization-gitea.yaml

View File

@ -1,4 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: gitea