mirror of
https://github.com/lingble/talos.git
synced 2026-03-20 04:03:37 +00:00
fix: drop /opt mount for containers/tink
The `/opt/cni/bin` in the rootfs contains CNI binaries, which get overwritten by the volume mount. Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
This commit is contained in:
@@ -420,7 +420,7 @@ func (suite *TinkSuite) getTinkManifests(namespace, serviceName, ssName, talosIm
|
||||
},
|
||||
},
|
||||
xslices.Map(
|
||||
constants.Overlays,
|
||||
xslices.Filter(constants.Overlays, func(overlay string) bool { return overlay != "/opt" }), // /opt/cni/bin contains CNI binaries
|
||||
func(mountPath string) overlayMountSpec {
|
||||
return overlayMountSpec{
|
||||
MountPoint: mountPath,
|
||||
|
||||
@@ -100,6 +100,4 @@ volumeMounts:
|
||||
name: etc-kubernetes
|
||||
- mountPath: /usr/libexec/kubernetes
|
||||
name: usr-libexec-kubernetes
|
||||
- mountPath: /opt
|
||||
name: opt
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user