This commit adds and implements org.osbuild.azure.image target. Let's talk about the already implemented org.osbuild.azure target firstly: The purpose of this target is to authenticate using the Azure Storage credentials and upload the image file as a Page Blob. Page Blob is basically an object in storage and it cannot be directly used to launch a VM. To achieve that, you need to define an actual Azure Image with the Page Blob attached. For the cloud API, we would like to create an actual Azure Image that is immediately available for new VMs. The new target accomplishes it. To achieve this, it must use a different authentication method: Azure OAuth. The other important difference is that currently, the credentials are stored on the worker and not in target options. This should lead to better security because we don't send the credentials over network. In the future, we would like to have credential-less setup using workers in Azure with the right IAM policies applied but this requires more investigation and is not implemented in this commit. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
38 lines
1.5 KiB
Modula-2
38 lines
1.5 KiB
Modula-2
module github.com/osbuild/osbuild-composer
|
|
|
|
go 1.14
|
|
|
|
require (
|
|
cloud.google.com/go v0.75.0
|
|
cloud.google.com/go/storage v1.10.0
|
|
github.com/Azure/azure-pipeline-go v0.2.3
|
|
github.com/Azure/azure-sdk-for-go v41.3.0+incompatible
|
|
github.com/Azure/azure-storage-blob-go v0.13.0
|
|
github.com/Azure/go-autorest/autorest v0.10.0
|
|
github.com/Azure/go-autorest/autorest/azure/auth v0.4.2
|
|
github.com/Azure/go-autorest/autorest/to v0.3.0 // indirect
|
|
github.com/Azure/go-autorest/autorest/validation v0.2.0 // indirect
|
|
github.com/BurntSushi/toml v0.3.1
|
|
github.com/aws/aws-sdk-go v1.25.37
|
|
github.com/coreos/go-semver v0.3.0
|
|
github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f
|
|
github.com/deepmap/oapi-codegen v1.3.12
|
|
github.com/getkin/kin-openapi v0.13.0
|
|
github.com/go-chi/chi v4.0.2+incompatible
|
|
github.com/gobwas/glob v0.2.3
|
|
github.com/golang/protobuf v1.4.3
|
|
github.com/google/go-cmp v0.5.4
|
|
github.com/google/uuid v1.1.2
|
|
github.com/gophercloud/gophercloud v0.11.0
|
|
github.com/julienschmidt/httprouter v1.2.0
|
|
github.com/kolo/xmlrpc v0.0.0-20200310150728-e0350524596b
|
|
github.com/labstack/echo/v4 v4.1.11
|
|
github.com/stretchr/testify v1.5.1
|
|
github.com/ubccr/kerby v0.0.0-20170626144437-201a958fc453
|
|
github.com/vmware/govmomi v0.23.0
|
|
golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5
|
|
golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3
|
|
google.golang.org/api v0.36.0
|
|
google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7
|
|
google.golang.org/protobuf v1.25.0
|
|
)
|