Skip to content

gke-disk-image-builder: Configurable attached disk source image #170

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

Open
nstogner opened this issue Jan 11, 2024 · 1 comment
Open

gke-disk-image-builder: Configurable attached disk source image #170

nstogner opened this issue Jan 11, 2024 · 1 comment
Labels
stale Pending closure after 60 days unless there is a strong objection.

Comments

@nstogner
Copy link
Collaborator

Customer requirement: need the compute instance to run with a configurable disk source image.

Reference:

                                                        Disks: []*compute.AttachedDisk{
                                                                &compute.AttachedDisk{
                                                                        AutoDelete: true,
@@ -136,9 +169,10 @@ func GenerateDiskImage(ctx context.Context, req Request) error {
                                                                        DeviceName: fmt.Sprintf("%s-bootable-disk", name),
                                                                        Mode:       "READ_WRITE",
                                                                        InitializeParams: &compute.AttachedDiskInitializeParams{
-                                                                               DiskSizeGb:  req.DiskSizeGB,
-                                                                               DiskType:    fmt.Sprintf("projects/%s/zones/%s/diskTyp
es/%s", req.ProjectName, req.Zone, req.DiskType),
-                                                                               SourceImage: /* NEED THIS TO BE CONFIGURABLE */
Copy link

'This issue is marked as Stale due to inactivity for more than 30 days. To avoid being marked as 'stale' please add 'awaiting-maintainer' label or add a comment. Thank you for your contributions '

@github-actions github-actions bot added the stale Pending closure after 60 days unless there is a strong objection. label Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Pending closure after 60 days unless there is a strong objection.
Projects
None yet
Development

No branches or pull requests

1 participant