refactored infrastructure folder to have a kustomization of its own, added infrastructure and secret manifests to flux system

This commit is contained in:
Jethro 2026-03-21 09:42:28 +13:00
parent 30130665a5
commit 5bcfad8d77
4 changed files with 20 additions and 20 deletions

View file

@ -6,7 +6,7 @@ metadata:
namespace: flux-system namespace: flux-system
spec: spec:
interval: 1h interval: 1h
path: ../../infrastructure/sources path: ../../infrastructure/
prune: true prune: true
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository

View file

@ -1,18 +0,0 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: bitwarden
namespace: flux-system
spec:
interval: 15m
path: ../../infrastructure/bitwarden
prune: true
decryption:
provider: sops
secretRef:
name: sops-age-key
dependsOn:
- name: sources
sourceRef:
kind: GitRepository
name: flux-system

View file

@ -0,0 +1,12 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: sources
namespace: flux-system
spec:
interval: 1h
path: ../../secrets/
prune: true
sourceRef:
kind: GitRepository
name: flux-system

View file

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- bitwarden
- sources
- velero