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
parent c8d54c68d7
commit 83b70951c6
4 changed files with 27 additions and 2 deletions

View file

@ -7,6 +7,8 @@ spec:
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

View file

@ -5,4 +5,3 @@ resources:
- repository.yaml
- release-operator.yaml
- authkey-secret.enc.yaml
- tsproxy-rtx6000.yaml

View file

@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../controllers/base/tailscale/tsproxy-rtx6000.yaml