Cilium: Use Helm to install
This commit is contained in:
parent
95a8d46120
commit
356173683e
File diff suppressed because one or more lines are too long
6
talos/patches/network.yaml
Normal file
6
talos/patches/network.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
cluster:
|
||||||
|
network:
|
||||||
|
cni:
|
||||||
|
name: none
|
||||||
|
proxy:
|
||||||
|
disabled: true
|
||||||
@ -1,20 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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 repo add cilium https://helm.cilium.io/
|
||||||
helm template \
|
helm install \
|
||||||
cilium \
|
cilium \
|
||||||
cilium/cilium \
|
cilium/cilium \
|
||||||
--version 1.18.3 \
|
--version 1.18.3 \
|
||||||
@ -29,9 +16,4 @@ helm template \
|
|||||||
--set cgroup.autoMount.enabled=false \
|
--set cgroup.autoMount.enabled=false \
|
||||||
--set cgroup.hostRoot=/sys/fs/cgroup \
|
--set cgroup.hostRoot=/sys/fs/cgroup \
|
||||||
--set k8sServiceHost=localhost \
|
--set k8sServiceHost=localhost \
|
||||||
--set k8sServicePort=7445 | sed 's/^/ /' > manifest.tmp
|
--set k8sServicePort=7445
|
||||||
|
|
||||||
sed -e '/__CILIUM_MANIFEST__/r manifest.tmp' -e '/__CILIUM_MANIFEST__/d' template.yaml > cilium.yaml
|
|
||||||
|
|
||||||
rm manifest.tmp
|
|
||||||
rm template.yaml
|
|
||||||
Loading…
Reference in New Issue
Block a user