diff --git a/apps/cilium.yaml b/apps/cilium.yaml new file mode 100644 index 0000000..bf76971 --- /dev/null +++ b/apps/cilium.yaml @@ -0,0 +1,31 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: cilium + namespace: argo-cd +spec: + project: default + source: + repoURL: https://helm.cilium.io + chart: cilium + targetRevision: 1.19.5 + helm: + valuesObject: + ipam: + operator: + clusterPoolIPv4PodCIDRList: + - 172.16.0.0/16 + hubble: + relay: + enabled: true + ui: + enabled: true + l2announcements: + enabled: true + destination: + server: https://kubernetes.default.svc + namespace: kube-system + syncPolicy: + automated: + prune: false + selfHeal: true diff --git a/manifests/cilium-l2.yaml b/manifests/cilium-l2.yaml new file mode 100644 index 0000000..af22bf8 --- /dev/null +++ b/manifests/cilium-l2.yaml @@ -0,0 +1,19 @@ +apiVersion: cilium.io/v2 +kind: CiliumLoadBalancerIPPool +metadata: + name: homelab-pool +spec: + blocks: + - start: 10.0.0.210 + stop: 10.0.0.220 +--- +apiVersion: cilium.io/v2alpha1 +kind: CiliumL2AnnouncementPolicy +metadata: + name: default +spec: + loadBalancerIPs: true + interfaces: + - ^eno.* + - ^eth.* + - ^enp.*