Make kube-flannel container privileged

Signed-off-by: Manuel Buil <mbuil@suse.com>
pull/449/head
Manuel Buil 2024-04-26 07:37:32 +02:00
parent cc03305890
commit 8c733e28a5
2 changed files with 10 additions and 1 deletions

View File

@ -33,6 +33,15 @@
command: command:
- "/opt/bin/flanneld" - "/opt/bin/flanneld"
{{- range .Values.flannel.args }} {{- range .Values.flannel.args }}
@@ -70,7 +64,7 @@
cpu: "100m"
memory: "50Mi"
securityContext:
- privileged: false
+ privileged: true
capabilities:
add: ["NET_ADMIN", "NET_RAW"]
env:
@@ -98,6 +92,7 @@ @@ -98,6 +92,7 @@
- name: cni-plugin - name: cni-plugin
hostPath: hostPath:

View File

@ -1,2 +1,2 @@
url: https://github.com/flannel-io/flannel/releases/download/v0.25.1/flannel.tgz url: https://github.com/flannel-io/flannel/releases/download/v0.25.1/flannel.tgz
packageVersion: 01 packageVersion: 02