kustomization dependencies

Signed-off-by: Michael Thomson <michael@michaelthomson.dev>
This commit is contained in:
2024-11-21 14:01:16 -05:00
parent 5977a6054c
commit 22aa401036
15 changed files with 35 additions and 6 deletions

View File

@@ -6,6 +6,8 @@ metadata:
spec:
interval: 15m
path: ./cert-manager
dependsOn:
- name: external-dns
prune: true # remove any elements later removed from the above path
timeout: 2m # if not set, this defaults to interval duration, which is 1h
sourceRef:

View File

@@ -6,6 +6,8 @@ metadata:
spec:
interval: 30m
path: ./external-dns
dependsOn:
- name: sealed-secrets
prune: true # remove any elements later removed from the above path
timeout: 10m # if not set, this defaults to interval duration, which is 1h
sourceRef:

View File

@@ -7,8 +7,7 @@ spec:
interval: 15m
path: ./letsencrypt-wildcard-cert
dependsOn:
- name: "cert-manager"
- name: "sealed-secrets"
- name: cert-manager
prune: true # remove any elements later removed from the above path
timeout: 2m # if not set, this defaults to interval duration, which is 1h
sourceRef:

View File

@@ -6,6 +6,8 @@ metadata:
spec:
interval: 15m
path: ./longhorn
dependsOn:
- name: nfs-subdir-external-provisioner
prune: true # remove any elements later removed from the above path
timeout: 2m # if not set, this defaults to interval duration, which is 1h
sourceRef:

View File

@@ -1,12 +1,12 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: config--metallb-system
name: metallb-config
namespace: flux-system
spec:
interval: 15m
dependsOn:
- name: metallb--metallb-system
- name: metallb-system
path: ./metallb-config
prune: true # remove any elements later removed from the above path
timeout: 2m # if not set, this defaults to interval duration, which is 1h

View File

@@ -1,7 +1,7 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: metallb--metallb-system
name: metallb-system
namespace: flux-system
spec:
interval: 15m

View File

@@ -6,6 +6,8 @@ metadata:
spec:
interval: 15m
path: ./nfs-subdir-external-provisioner
dependsOn:
- name: traefik-config
prune: true # remove any elements later removed from the above path
timeout: 2m # if not set, this defaults to interval duration, which is 1h
sourceRef:

View File

@@ -6,6 +6,8 @@ metadata:
spec:
interval: 15m
path: ./reflector
dependsOn:
- name: letsencrypt-wildcard-cert
prune: true # remove any elements later removed from the above path
timeout: 2m # if not set, this defaults to interval duration, which is 1h
sourceRef:

View File

@@ -6,6 +6,9 @@ metadata:
spec:
interval: 15m
path: ./sealed-secrets
dependsOn:
- name: metallb-system
- name: metallb-config
prune: true # remove any elements later removed from the above path
timeout: 2m # if not set, this defaults to interval duration, which is 1h
sourceRef:

View File

@@ -0,0 +1,15 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: traefik-config
namespace: flux-system
spec:
interval: 15m
path: ./traefik-config
dependsOn:
- name: traefik
prune: true # remove any elements later removed from the above path
timeout: 2m # if not set, this defaults to interval duration, which is 1h
sourceRef:
kind: GitRepository
name: flux-system

View File

@@ -6,6 +6,8 @@ metadata:
spec:
interval: 15m
path: ./traefik
dependsOn:
- name: reflector
prune: true # remove any elements later removed from the above path
timeout: 2m # if not set, this defaults to interval duration, which is 1h
sourceRef: