Cilium: Use Helm to install

This commit is contained in:
Marco van Zijl 2025-11-02 16:58:26 +01:00
parent 95a8d46120
commit 356173683e
3 changed files with 8 additions and 2065 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,6 @@
cluster:
network:
cni:
name: none
proxy:
disabled: true

View File

@ -1,20 +1,7 @@
#!/usr/bin/env bash
cat > template.yaml << 'EOF'
cluster:
network:
cni:
name: none
proxy:
disabled: true
inlineManifests:
- name: cilium
contents: |
__CILIUM_MANIFEST__
EOF
helm repo add cilium https://helm.cilium.io/
helm template \
helm install \
cilium \
cilium/cilium \
--version 1.18.3 \
@ -29,9 +16,4 @@ helm template \
--set cgroup.autoMount.enabled=false \
--set cgroup.hostRoot=/sys/fs/cgroup \
--set k8sServiceHost=localhost \
--set k8sServicePort=7445 | sed 's/^/ /' > manifest.tmp
sed -e '/__CILIUM_MANIFEST__/r manifest.tmp' -e '/__CILIUM_MANIFEST__/d' template.yaml > cilium.yaml
rm manifest.tmp
rm template.yaml
--set k8sServicePort=7445