fix(tailnet): move TsProxy to separate Kustomization that depends on operator

- Remove TsProxy from infrastructure-controllers to avoid CRD timing issue
- Create infrastructure/tailnet/ Kustomization for TsProxy resources
- Add infrastructure-tailnet Flux Kustomization with dependsOn
- Add dependsOn to customer1 Kustomization for trade-dashboard TsProxy
This commit is contained in:
sirius0xdev 2026-05-04 00:05:44 +00:00
commit 83b70951c6
4 changed files with 27 additions and 2 deletions

View file

@ -4,9 +4,11 @@ metadata:
name: customer1
namespace: flux-system
spec:
interval: 1m0s
interval: 1m0s
retryInterval: 1m
timeout: 5m
dependsOn:
- name: infrastructure-controllers
sourceRef:
kind: GitRepository
name: flux-system

View file

@ -0,0 +1,20 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infrastructure-tailnet
namespace: flux-system
spec:
interval: 1m0s
retryInterval: 1m
timeout: 5m
dependsOn:
- name: infrastructure-controllers
sourceRef:
kind: GitRepository
name: flux-system
path: ./infrastructure/tailnet
prune: true
decryption:
provider: sops
secretRef:
name: sops-age