Compare commits
3 Commits
0af691784d
...
14a4b668d5
Author | SHA1 | Date | |
---|---|---|---|
![]() |
14a4b668d5
|
||
![]() |
31e718b01e
|
||
e9cacb2ae2
|
42
clusters/k8s-cluster/infrastructure.yaml
Normal file
42
clusters/k8s-cluster/infrastructure.yaml
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: infra-controllers
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
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
|
||||||
|
patches:
|
||||||
|
- patch: |
|
||||||
|
- op: replace
|
||||||
|
path: /spec/addresses
|
||||||
|
value:
|
||||||
|
- 10.100.100.220-10.100.100.229
|
||||||
|
target:
|
||||||
|
kind: IPAddressPool
|
||||||
|
name: first-pool
|
@@ -36,7 +36,7 @@ spec:
|
|||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/addresses
|
path: /spec/addresses
|
||||||
value:
|
value:
|
||||||
- 10.100.100.240-10.100.100.250
|
- 10.100.100.210-10.100.100.219
|
||||||
target:
|
target:
|
||||||
kind: IPAddressPool
|
kind: IPAddressPool
|
||||||
name: first-pool
|
name: first-pool
|
||||||
|
Reference in New Issue
Block a user