bootstrap flux

This commit is contained in:
Earl Warren 2024-10-23 07:53:20 +02:00
parent f41270db05
commit d6a9303b9f
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
4 changed files with 12537 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*~

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,24 @@
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 15m
ref:
branch: main
url: https://code.forgejo.org/infrastructure/k8s-cluster.git
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 10m
path: ./flux/clusters
prune: true
sourceRef:
kind: GitRepository
name: flux-system

View file

@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- gotk-components.yaml
- gotk-sync.yaml