mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-28 02:18:24 +00:00
fix(flux): dependsOn append, not replace
Signed-off-by: JJGadgets <git@jjgadgets.tech>
This commit is contained in:
@@ -57,8 +57,6 @@ spec:
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
dependsOn:
|
||||
- name: 2-biohazard-config
|
||||
target:
|
||||
group: kustomize.toolkit.fluxcd.io
|
||||
version: v1beta2
|
||||
@@ -66,9 +64,19 @@ spec:
|
||||
labelSelector: kustomization.flux.home.arpa/default notin (false)
|
||||
- patch: |
|
||||
- op: add
|
||||
path: /spec/dependsOn
|
||||
path: /spec/dependsOn/-
|
||||
value:
|
||||
- name: biohazard-1-core-01-networking-cilium
|
||||
name: 2-biohazard-config
|
||||
target:
|
||||
group: kustomize.toolkit.fluxcd.io
|
||||
version: v1beta2
|
||||
kind: Kustomization
|
||||
labelSelector: kustomization.flux.home.arpa/default notin (false)
|
||||
- patch: |
|
||||
- op: add
|
||||
path: /spec/dependsOn/-
|
||||
value:
|
||||
name: biohazard-1-core-01-networking-cilium
|
||||
target:
|
||||
group: kustomize.toolkit.fluxcd.io
|
||||
version: v1beta2
|
||||
|
||||
@@ -19,6 +19,7 @@ metadata:
|
||||
kustomization.flux.home.arpa/name: "cilium"
|
||||
spec:
|
||||
path: ./kube/3-deploy/1-core/01-networking/cilium
|
||||
dependsOn: []
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: HelmRepository
|
||||
@@ -37,7 +38,7 @@ metadata:
|
||||
namespace: flux-system
|
||||
spec:
|
||||
path: ./kube/3-deploy/1-core/02-storage/rook-ceph/crds
|
||||
dependsOn:
|
||||
dependsOn: []
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
@@ -66,7 +67,7 @@ metadata:
|
||||
namespace: flux-system
|
||||
spec:
|
||||
path: ./kube/3-deploy/1-core/03-certs/cert-manager/crds
|
||||
dependsOn:
|
||||
dependsOn: []
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
@@ -85,7 +86,7 @@ metadata:
|
||||
namespace: flux-system
|
||||
spec:
|
||||
path: ./kube/3-deploy/1-core/04-dns
|
||||
dependsOn:
|
||||
dependsOn: []
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
|
||||
Reference in New Issue
Block a user