mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-10 07:01:12 +02:00
This commit adds structprotogen tool which is used to generate proto file from Go structs. Closes #6078. Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
14 lines
360 B
Protocol Buffer
Executable File
14 lines
360 B
Protocol Buffer
Executable File
syntax = "proto3";
|
|
|
|
package talos.resource.definitions.kubeaccess;
|
|
|
|
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/kubeaccess";
|
|
|
|
// ConfigSpec describes KubeSpan configuration..
|
|
message ConfigSpec {
|
|
bool enabled = 1;
|
|
repeated string allowed_api_roles = 2;
|
|
repeated string allowed_kubernetes_namespaces = 3;
|
|
}
|
|
|