bootstrap flux
This commit is contained in:
parent
f41270db05
commit
d6a9303b9f
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
*~
|
12507
flux/clusters/flux-system/gotk-components.yaml
Normal file
12507
flux/clusters/flux-system/gotk-components.yaml
Normal file
File diff suppressed because it is too large
Load diff
24
flux/clusters/flux-system/gotk-sync.yaml
Normal file
24
flux/clusters/flux-system/gotk-sync.yaml
Normal 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
|
5
flux/clusters/flux-system/kustomization.yaml
Normal file
5
flux/clusters/flux-system/kustomization.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- gotk-components.yaml
|
||||
- gotk-sync.yaml
|
Loading…
Reference in a new issue