diff --git a/infrastructure/flux-system/kustomization-gitea.yaml b/infrastructure/flux-system/kustomization-gitea.yaml new file mode 100644 index 0000000..ed5aab1 --- /dev/null +++ b/infrastructure/flux-system/kustomization-gitea.yaml @@ -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 diff --git a/infrastructure/flux-system/kustomization.yaml b/infrastructure/flux-system/kustomization.yaml index d51ff52..0cfd9fc 100644 --- a/infrastructure/flux-system/kustomization.yaml +++ b/infrastructure/flux-system/kustomization.yaml @@ -3,4 +3,4 @@ kind: Kustomization resources: - gotk-components.yaml - gotk-sync.yaml -- ../../services/gitea +- kustomization-gitea.yaml diff --git a/services/gitea/namespace.yaml b/services/gitea/namespace.yaml deleted file mode 100644 index 09a988f..0000000 --- a/services/gitea/namespace.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: gitea