flux: define repos

This commit is contained in:
Earl Warren 2024-10-23 16:29:58 +02:00
parent 491bb3e407
commit 533b275865
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
6 changed files with 64 additions and 0 deletions

View file

@ -0,0 +1,21 @@
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infra-repos
namespace: flux-system
spec:
# for later usage
# decryption:
# provider: sops
# secretRef:
# name: sops-age
interval: 1h
retryInterval: 1m
timeout: 5m
sourceRef:
kind: GitRepository
name: flux-system
path: ./flux/infrastructure/repos
prune: true
wait: true

View file

@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: bitnami-charts
namespace: flux-system # needed for renovate
spec:
type: oci
url: oci://registry-1.docker.io/bitnamicharts

View file

@ -0,0 +1,9 @@
# https://fluxcd.io/flux/components/source/helmrepositories/#helm-oci-repository
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: forgejo
namespace: flux-system # needed for renovate
spec:
type: oci
url: oci://code.forgejo.org/forgejo-helm

View file

@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: flux-system
resources:
- bitnami-charts.yaml
- metallb.yaml
- traefik-charts.yaml
- forgejo-charts.yaml

View file

@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: metallb
namespace: flux-system # needed for renovate
spec:
interval: 3h # fetch index file every 3 hours
url: https://metallb.github.io/metallb

View file

@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: traefik-charts
namespace: flux-system # needed for renovate
spec:
type: oci
url: oci://ghcr.io/traefik/helm