Compare commits

..

5 Commits

Author SHA1 Message Date
acba01e08d Add Flux sync manifests 2025-01-22 19:05:57 +00:00
e1f5ba126a Add Flux v2.4.0 component manifests 2025-01-22 19:05:54 +00:00
fe0e18c3e8 fix flux proxy 2025-01-22 12:55:46 -06:00
17e83277fe share metallb between all clusters 2025-01-22 12:35:17 -06:00
8fd1e2d530 share flux between all clusters 2025-01-22 12:16:17 -06:00
5 changed files with 4 additions and 24 deletions

View File

@ -19,7 +19,7 @@ patches:
- name: "https_proxy" - name: "https_proxy"
value: "http://proxy-lb.lab.kill0.net:3128" value: "http://proxy-lb.lab.kill0.net:3128"
- name: "no_proxy" - name: "no_proxy"
value: ".svc, 10.0.0.0/8, 127.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, k8s-ctrl-lb.lab.kill0.net, localhost" value: ".cluster.local, .svc, 10.0.0.0/8, 127.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, k8s-ctrl-lb.lab.kill0.net, k3s-ctrl-lb.lab.kill0.net, kube-lb.lab.kill0.net, localhost"
target: target:
kind: Deployment kind: Deployment
labelSelector: app.kubernetes.io/part-of=flux labelSelector: app.kubernetes.io/part-of=flux

View File

@ -20,7 +20,7 @@ metadata:
namespace: flux-system namespace: flux-system
spec: spec:
interval: 10m0s interval: 10m0s
path: ./clusters/k8s-cluster path: ./clusters/my-cluster
prune: true prune: true
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository

View File

@ -1,25 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- gotk-components.yaml - gotk-components.yaml
- gotk-sync.yaml - gotk-sync.yaml
patches:
- patch: |
apiVersion: apps/v1
kind: Deployment
metadata:
name: all
spec:
template:
spec:
containers:
- name: manager
env:
- name: "HTTPS_PROXY"
value: "http://proxy-lb.lab.kill0.net:3128"
- name: "NO_PROXY"
value: ".cluster.local.,.cluster.local,.svc,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
target:
kind: Deployment
labelSelector: app.kubernetes.io/part-of=flux