talos/pkg/machinery/extensions/extensions.go
Noel Georgi 9512e8f301
feat: allow modules to be loaded via extension
Allow modules to be loaded via [extensions](https://github.com/siderolabs/extensions/pull/52).

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-08-15 17:14:38 +05:30

17 lines
505 B
Go

// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
// Package extensions contains Talos extensions specific API.
package extensions
// AllowedPaths lists paths allowed in the extension images.
var AllowedPaths = []string{
"/etc/cri/conf.d",
"/lib/firmware",
"/lib/modules",
"/lib64/ld-linux-x86-64.so.2",
"/usr/etc/udev/rules.d",
"/usr/local",
}