Skip to content

Commit 754463f

Browse files
committed
Added Cilium as CNI, updated Talos and removed unnecessary clutter
1 parent d06f904 commit 754463f

28 files changed

+278
-264
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ well documented](https://www.talos.dev/v1.10/talos-guides/configuration/pull-thr
106106
* Applications
107107
* [terraform-provider-harbor](https://github.com/goharbor/terraform-provider-harbor)
108108
* Helm charts:
109-
* [metallb](https://github.com/metallb/metallb/tree/main/charts/metallb)
110109
* Certificate Authority
111110
* [step-certificates](https://artifacthub.io/packages/helm/smallstep/step-certificates)
112111
* [step-issuer](https://artifacthub.io/packages/helm/smallstep/step-issuer)

kubernetes/.terraform.lock.hcl

Lines changed: 41 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kubernetes/configuration.auto.tfvars.example

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ docker_hub_email = "me@example.com"
1616
github_username = "your-user-name"
1717
github_password = "your-access-token"
1818

19-
# MetalLB
20-
metallb_ip_address_range = "192.168.1.18-192.168.1.19"
19+
# Cilium Load Balancer
20+
cilium_load_balancer_ip_range_start = "192.168.1.17"
21+
cilium_load_balancer_ip_range_stop = "192.168.1.19"
2122

2223
# CA
2324
root_ca_password = "oQzf9dD6uDZmgnAV45hEHHtg0jG6L488"

kubernetes/helm_charts/metallb-config/Chart.yaml renamed to kubernetes/helm_charts/cilium-lb-config/Chart.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
2-
name: metallb-config
3-
description: Configuration for Metallb loadbalancer
2+
name: cilium-lb-config
3+
description: Helm chart for installing Cilium load balancer configuration
44

55
# A chart can be either an 'application' or a 'library' chart.
66
#
@@ -15,10 +15,9 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.0.0
18+
version: 0.1.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
23-
# It is recommended to use it with quotes.
24-
appVersion: "1.0.0"
23+
appVersion: "1.0"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: cilium.io/v2alpha1
2+
kind: CiliumL2AnnouncementPolicy
3+
metadata:
4+
name: default
5+
namespace: kube-system
6+
spec:
7+
externalIPs: true
8+
loadBalancerIPs: true
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: cilium.io/v2
2+
kind: CiliumLoadBalancerIPPool
3+
metadata:
4+
name: default-pool
5+
spec:
6+
blocks:
7+
- start: {{ .Values.ciliumLoadBalancerIpRange.start}}
8+
stop: {{ .Values.ciliumLoadBalancerIpRange.stop }}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ciliumLoadBalancerIpRange:
2+
start: ""
3+
stop: ""

kubernetes/helm_charts/metallb-config/.helmignore

Lines changed: 0 additions & 23 deletions
This file was deleted.

kubernetes/helm_charts/metallb-config/templates/metallb.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

kubernetes/helm_charts/metallb-config/values.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)