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:
parent
c8d54c68d7
commit
83b70951c6
4 changed files with 27 additions and 2 deletions
|
|
@ -7,6 +7,8 @@ spec:
|
|||
interval: 1m0s
|
||||
retryInterval: 1m
|
||||
timeout: 5m
|
||||
dependsOn:
|
||||
- name: infrastructure-controllers
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
|
|
|
|||
20
clusters/devops-lab/infra-tailnet.yaml
Normal file
20
clusters/devops-lab/infra-tailnet.yaml
Normal 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
|
||||
|
|
@ -5,4 +5,3 @@ resources:
|
|||
- repository.yaml
|
||||
- release-operator.yaml
|
||||
- authkey-secret.enc.yaml
|
||||
- tsproxy-rtx6000.yaml
|
||||
|
|
|
|||
4
infrastructure/tailnet/kustomization.yaml
Normal file
4
infrastructure/tailnet/kustomization.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../controllers/base/tailscale/tsproxy-rtx6000.yaml
|
||||
Loading…
Add table
Reference in a new issue