fleet-infra/clusters/my-cluster/infrastructure.yaml

61 lines
1.2 KiB
YAML
Raw Normal View History

2025-01-22 15:00:58 -06:00
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
2025-01-23 14:22:09 -06:00
metadata:
name: infra-loadbalancer
namespace: flux-system
spec:
interval: 1h
retryInterval: 1m
timeout: 5m
sourceRef:
kind: GitRepository
name: flux-system
path: ./infrastructure/loadbalancer
prune: true
wait: true
patches:
- patch: |
- op: replace
path: /spec/addresses
value:
2025-01-31 14:05:42 -06:00
- 10.100.101.16/28
2025-01-23 14:22:09 -06:00
target:
kind: IPAddressPool
name: first-pool
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
2025-01-22 15:00:58 -06:00
metadata:
name: infra-controllers
namespace: flux-system
spec:
2025-01-23 14:22:09 -06:00
dependsOn:
- name: infra-loadbalancer
2025-01-22 15:00:58 -06:00
interval: 1h
retryInterval: 1m
timeout: 5m
sourceRef:
kind: GitRepository
name: flux-system
path: ./infrastructure/controllers
prune: true
wait: true
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infra-configs
namespace: flux-system
spec:
dependsOn:
- name: infra-controllers
interval: 1h
retryInterval: 1m
timeout: 5m
sourceRef:
kind: GitRepository
name: flux-system
path: ./infrastructure/configs
prune: true