feat: install cilium cni

This commit is contained in:
2026-06-29 01:17:38 +01:00
parent 8d821d643c
commit 293df1cfbe
3 changed files with 32 additions and 5 deletions
@@ -0,0 +1,12 @@
- name: Ensure Cilium repository exists
kubernetes.core.helm_repository:
name: cilium
url: https://helm.cilium.io/
- name: Ensure Cilium is installed
kubernetes.core.helm:
release_name: cilium
release_namespace: kube-system
chart_ref: cilium/cilium
chart_version: 1.19.5
run_once: true
@@ -0,0 +1,15 @@
- name: Add Helm APT repository
ansible.builtin.deb822_repository:
name: helm
types: deb
uris: https://packages.buildkite.com/helm-linux/helm-debian/any/
suites: any
components: main
signed_by: https://packages.buildkite.com/helm-linux/helm-debian/gpgkey
state: present
- name: Install Helm
ansible.builtin.apt:
name: helm
state: present
update_cache: true
@@ -55,8 +55,8 @@
- kubectl - kubectl
state: present state: present
# - name: Install Pod Network (Calico) - name: Install Helm
# ansible.builtin.shell: kubectl apply -f https://raw.githubusercontent.com/projectcalico/calico/v3.32.0/manifests/calico.yaml > pod_network_setup.txt ansible.builtin.import_tasks: helm.yaml
# args:
# chdir: $HOME - name: Install Cilium CNI
# creates: pod_network_setup.txt ansible.builtin.import_tasks: cilium.yaml