Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for additional files for Alpine #564

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions proto/alpine.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,26 @@ package alpine;

option go_package = "github.com/openconfig/kne/proto/alpine";

message Files {
// Mount point for the files inside the pod.
string mount_dir = 1;

message FileData {
oneof file_data {
// Byte data for the startup configuration file.
bytes data = 101;
// File is always relative to the topology configuration file.
string file = 102;
}
}

map<string,FileData> files = 2;
}

// Alpine specific vendor data for KNE
message AlpineConfig {
repeated Container containers = 1;
Files files = 2;
}

message Container {
Expand Down
261 changes: 230 additions & 31 deletions proto/alpine/alpine.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading