Try adding kustomizes

This commit is contained in:
2024-02-16 22:38:29 +00:00
parent 933a63155b
commit dc57fdf6b6
6 changed files with 34 additions and 7 deletions

14
clusters/talos/apps.yaml Normal file
View File

@@ -0,0 +1,14 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: apps
namespace: flux-system
spec:
interval: 10m
path: ./apps
prune: true
sourceRef:
kind: GitRepository
name: flux-cluster
dependsOn:
- name: infra

12
clusters/talos/infra.yaml Normal file
View File

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

View File

@@ -1,4 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./infra