mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-10 00:27:05 +02:00
Implement SELinux labeling support in EtcFileController, label both squashfs and runtime-created files in /etc and /system/etc. Add corresponding test cases. Signed-off-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
20 lines
498 B
Protocol Buffer
Executable File
20 lines
498 B
Protocol Buffer
Executable File
syntax = "proto3";
|
|
|
|
package talos.resource.definitions.files;
|
|
|
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/files";
|
|
option java_package = "dev.talos.api.resource.definitions.files";
|
|
|
|
// EtcFileSpecSpec describes status of rendered secrets.
|
|
message EtcFileSpecSpec {
|
|
bytes contents = 1;
|
|
uint32 mode = 2;
|
|
string selinux_label = 3;
|
|
}
|
|
|
|
// EtcFileStatusSpec describes status of rendered secrets.
|
|
message EtcFileStatusSpec {
|
|
string spec_version = 1;
|
|
}
|
|
|