mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(provisioner): pass owner git ssh key (#13366)
This commit is contained in:
Generated
+8
@@ -231,6 +231,8 @@ export interface Metadata {
|
||||
templateId: string;
|
||||
workspaceOwnerName: string;
|
||||
workspaceOwnerGroups: string[];
|
||||
workspaceOwnerSshPublicKey: string;
|
||||
workspaceOwnerSshPrivateKey: string;
|
||||
}
|
||||
|
||||
/** Config represents execution configuration shared by all subsequent requests in the Session */
|
||||
@@ -842,6 +844,12 @@ export const Metadata = {
|
||||
for (const v of message.workspaceOwnerGroups) {
|
||||
writer.uint32(114).string(v!);
|
||||
}
|
||||
if (message.workspaceOwnerSshPublicKey !== "") {
|
||||
writer.uint32(122).string(message.workspaceOwnerSshPublicKey);
|
||||
}
|
||||
if (message.workspaceOwnerSshPrivateKey !== "") {
|
||||
writer.uint32(130).string(message.workspaceOwnerSshPrivateKey);
|
||||
}
|
||||
return writer;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user