Skip to content

Commit 3eb295b

Browse files
authored
Add job provisioning to the remote machine templates (#1118)
Signed-off-by: Alexey Makhov <[email protected]> Signed-off-by: makhov <[email protected]>
1 parent c8d6715 commit 3eb295b

File tree

6 files changed

+34198
-2
lines changed

6 files changed

+34198
-2
lines changed

api/infrastructure/v1beta1/remote_machine_template_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ type RemoteMachineTemplateResource struct {
5151

5252
type RemoteMachineTemplateResourceSpec struct {
5353
Pool string `json:"pool"`
54+
// ProvisionJob describes the kubernetes Job to use to provision the machine.
55+
ProvisionJob *ProvisionJob `json:"provisionJob,omitempty"`
5456
}
5557

5658
// +kubebuilder:object:root=true

api/infrastructure/v1beta1/zz_generated.deepcopy.go

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)