feat: restructure

feat: enable stuff?
This commit is contained in:
2024-11-05 14:29:24 -05:00
parent 5a1600c377
commit 27d528e4b6
18 changed files with 169 additions and 55 deletions

View File

@@ -1,17 +1,17 @@
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: apps
namespace: flux-system
spec:
dependsOn:
- name: infra-configs
interval: 1m0s
path: ./apps/prod
prune: true
sourceRef:
kind: GitRepository
name: flux-system
timeout: 5m0s
wait: true
# ---
# apiVersion: kustomize.toolkit.fluxcd.io/v1
# kind: Kustomization
# metadata:
# name: apps
# namespace: flux-system
# spec:
# dependsOn:
# - name: infra-configs
# interval: 1m0s
# path: ./apps/prod
# prune: true
# sourceRef:
# kind: GitRepository
# name: flux-system
# timeout: 5m0s
# wait: true

View File

@@ -0,0 +1,36 @@
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infra-1password
namespace: flux-system
spec:
interval: 1h0m0s
path: ./infra/controllers/1password
dependsOn:
- name: infra-metallb-config
prune: true
retryInterval: 1m0s
sourceRef:
kind: GitRepository
name: flux-system
timeout: 5m0s
wait: true
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infra-1password-config
namespace: flux-system
spec:
interval: 1h0m0s
path: ./infra/configs/1password
dependsOn:
- name: infra-1password
prune: true
retryInterval: 1m0s
sourceRef:
kind: GitRepository
name: flux-system
timeout: 5m0s
wait: true

View File

@@ -0,0 +1,18 @@
# ---
# apiVersion: kustomize.toolkit.fluxcd.io/v1
# kind: Kustomization
# metadata:
# name: infra-external-dns
# namespace: flux-system
# spec:
# interval: 1h0m0s
# path: ./infra/controllers/external-dns
# dependsOn:
# - name: infra-1password-config
# prune: true
# retryInterval: 1m0s
# sourceRef:
# kind: GitRepository
# name: flux-system
# timeout: 5m0s
# wait: true

View File

@@ -0,0 +1,18 @@
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infra-longhorn
namespace: flux-system
spec:
interval: 1h0m0s
path: ./infra/controllers/longhorn
dependsOn:
- name: infra-metallb-config
prune: true
retryInterval: 1m0s
sourceRef:
kind: GitRepository
name: flux-system
timeout: 5m0s
wait: true

View File

@@ -2,29 +2,13 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infra-namespaces
name: infra-metallb
namespace: flux-system
spec:
interval: 1h0m0s
path: ./infra/namespaces
prune: true
retryInterval: 1m0s
sourceRef:
kind: GitRepository
name: flux-system
timeout: 5m0s
wait: true
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infra-controllers
namespace: flux-system
spec:
path: ./infra/controllers/metallb
dependsOn:
- name: infra-namespaces
interval: 1h0m0s
path: ./infra/controllers
prune: true
retryInterval: 1m0s
sourceRef:
@@ -36,16 +20,17 @@ spec:
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infra-configs
name: infra-metallb-config
namespace: flux-system
spec:
dependsOn:
- name: infra-controllers
interval: 1h0m0s
path: ./infra/configs
path: ./infra/configs/metallb
dependsOn:
- name: infra-metallb
prune: true
retryInterval: 1m0s
sourceRef:
kind: GitRepository
name: flux-system
timeout: 5m0s
wait: true

View File

@@ -0,0 +1,16 @@
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infra-namespaces
namespace: flux-system
spec:
interval: 1h0m0s
path: ./infra/namespaces
prune: true
retryInterval: 1m0s
sourceRef:
kind: GitRepository
name: flux-system
timeout: 5m0s
wait: true

View File

@@ -0,0 +1,18 @@
# ---
# apiVersion: kustomize.toolkit.fluxcd.io/v1
# kind: Kustomization
# metadata:
# name: infra-longhorn
# namespace: flux-system
# spec:
# interval: 1h0m0s
# path: ./infra/controllers/traefik
# dependsOn:
# - name: infra-namespaces
# prune: true
# retryInterval: 1m0s
# sourceRef:
# kind: GitRepository
# name: flux-system
# timeout: 5m0s
# wait: true