From 406f3e0b803b348c5f1272ef19f600c827536e36 Mon Sep 17 00:00:00 2001 From: Robin Deeboonchai Date: Thu, 24 Oct 2024 17:55:16 -0700 Subject: [PATCH] feat: Artifact Streaming integration for bootstrappingclient mode --- .../customscriptsbootstrap/provisionclientbootstrap.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/providers/imagefamily/customscriptsbootstrap/provisionclientbootstrap.go b/pkg/providers/imagefamily/customscriptsbootstrap/provisionclientbootstrap.go index 71adfacc3..67a8b3e84 100644 --- a/pkg/providers/imagefamily/customscriptsbootstrap/provisionclientbootstrap.go +++ b/pkg/providers/imagefamily/customscriptsbootstrap/provisionclientbootstrap.go @@ -94,6 +94,9 @@ func (p ProvisionClientBootstrap) GetCustomDataAndCSE(ctx context.Context) (stri // EnableSecureBoot: lo.ToPtr(false), // Unsupported as of now (Trusted launch) }, MaxPods: lo.ToPtr(p.KubeletConfig.MaxPods), + ArtifactStreamingProfile: &models.ArtifactStreamingProfile{ + Enabled: lo.ToPtr(true), + }, VnetCidrs: []string{}, // Unsupported as of now; TODO(Windows) // MessageOfTheDay: lo.ToPtr(""), // Unsupported as of now @@ -103,9 +106,6 @@ func (p ProvisionClientBootstrap) GetCustomDataAndCSE(ctx context.Context) (stri // EnableFIPS: lo.ToPtr(false), // Unsupported as of now // GpuInstanceProfile: lo.ToPtr(models.GPUInstanceProfileUnspecified), // Unsupported as of now (MIG) // WorkloadRuntime: lo.ToPtr(models.WorkloadRuntimeUnspecified), // Unsupported as of now (Kata) - // ArtifactStreamingProfile: &models.ArtifactStreamingProfile{ - // Enabled: lo.ToPtr(false), // Unsupported as of now - // }, } switch p.ImageFamily {