Skip to content

Commit 458e10c

Browse files
Merge pull request #54 from mresvanis/mgmt-13713-add-confidential-vm-support
MGMT-13713: Add confidential VM support
2 parents d8cb917 + dd02e5a commit 458e10c

File tree

158 files changed

+10355
-737
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+10355
-737
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require (
1515
github.com/mitchellh/mapstructure v1.5.0
1616
github.com/onsi/ginkgo/v2 v2.9.5
1717
github.com/onsi/gomega v1.27.7
18-
github.com/openshift/api v0.0.0-20230509100629-894b49f57a15
18+
github.com/openshift/api v0.0.0-20230707123100-21c0ce73add5
1919
github.com/openshift/machine-api-operator v0.2.1-0.20230531233206-931f6f67c1c7
2020
github.com/pkg/errors v0.9.1
2121
github.com/spf13/cobra v1.7.0

go.sum

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,8 @@ github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9G
449449
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
450450
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 h1:n6/2gBQ3RWajuToeY6ZtZTIKv2v7ThUy5KKusIT0yc0=
451451
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00/go.mod h1:Pm3mSP3c5uWn86xMLZ5Sa7JB9GsEZySvHYXCTK4E9q4=
452+
github.com/mresvanis/api v0.0.0-20230706123929-dd9b8275a496 h1:OsDBTmU3l2/HwWVIQfUlv0DEZvFVxO8Bi6F6+W7OLRo=
453+
github.com/mresvanis/api v0.0.0-20230706123929-dd9b8275a496/go.mod h1:4VWG+W22wrB4HfBL88P40DxLEpSOaiBVxUnfalfJo9k=
452454
github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
453455
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
454456
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
@@ -467,8 +469,8 @@ github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGV
467469
github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
468470
github.com/onsi/gomega v1.27.7 h1:fVih9JD6ogIiHUN6ePK7HJidyEDpWGVB5mzM7cWNXoU=
469471
github.com/onsi/gomega v1.27.7/go.mod h1:1p8OOlwo2iUUDsHnOrjE5UKYJ+e3W8eQ3qSlRahPmr4=
470-
github.com/openshift/api v0.0.0-20230509100629-894b49f57a15 h1:0aKQixYOtjKB3NKhNzFeQ1t0oDOkacpaAN1ztfZufB8=
471-
github.com/openshift/api v0.0.0-20230509100629-894b49f57a15/go.mod h1:4VWG+W22wrB4HfBL88P40DxLEpSOaiBVxUnfalfJo9k=
472+
github.com/openshift/api v0.0.0-20230707123100-21c0ce73add5 h1:htabZ4P4mMAPTaTU0H0p++o/fmowJD5lnHR16ZBq3Js=
473+
github.com/openshift/api v0.0.0-20230707123100-21c0ce73add5/go.mod h1:yimSGmjsI+XF1mr+AKBs2//fSXIOhhetHGbMlBEfXbs=
472474
github.com/openshift/client-go v0.0.0-20230503144108-75015d2347cb h1:Nij5OnaECrkmcRQMAE9LMbQXPo95aqFnf+12B7SyFVI=
473475
github.com/openshift/client-go v0.0.0-20230503144108-75015d2347cb/go.mod h1:Rhb3moCqeiTuGHAbXBOlwPubUMlOZEkrEWTRjIF3jzs=
474476
github.com/openshift/library-go v0.0.0-20230508110756-9b7abe2c9cbf h1:ZpFAN2qprgp7jEhGPrOAwP8mmuYC9BRYzvDefg+k4GM=

pkg/cloud/azure/actuators/machine/actuator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"strings"
2626
"testing"
2727

28-
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-03-01/compute"
28+
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
2929
"github.com/Azure/go-autorest/autorest"
3030
"github.com/Azure/go-autorest/autorest/to"
3131
"github.com/ghodss/yaml"

pkg/cloud/azure/actuators/machine/reconciler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"strings"
2626
"time"
2727

28-
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-03-01/compute"
28+
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
2929
"github.com/Azure/go-autorest/autorest"
3030
"github.com/Azure/go-autorest/autorest/to"
3131
machinev1 "github.com/openshift/api/machine/v1beta1"

pkg/cloud/azure/actuators/machine/reconciler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strings"
77
"testing"
88

9-
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-03-01/compute"
9+
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
1010
"github.com/Azure/go-autorest/autorest"
1111
"github.com/golang/mock/gomock"
1212
. "github.com/onsi/gomega"

pkg/cloud/azure/actuators/machineset/controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"errors"
2020
"fmt"
2121

22-
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-03-01/compute"
22+
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
2323
"github.com/Azure/go-autorest/autorest/to"
2424
. "github.com/onsi/ginkgo/v2"
2525
. "github.com/onsi/gomega"

pkg/cloud/azure/services/availabilitysets/availabilitysets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"errors"
66
"fmt"
77

8-
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-03-01/compute"
8+
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
99
"github.com/Azure/go-autorest/autorest/to"
1010
"github.com/openshift/machine-api-provider-azure/pkg/cloud/azure"
1111
)

pkg/cloud/azure/services/availabilitysets/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package availabilitysets
22

33
import (
4-
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-03-01/compute"
4+
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
55
"github.com/Azure/go-autorest/autorest"
66
"github.com/openshift/machine-api-provider-azure/pkg/cloud/azure"
77
"github.com/openshift/machine-api-provider-azure/pkg/cloud/azure/actuators"

pkg/cloud/azure/services/availabilityzones/availabilityzones.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (s *Service) Get(ctx context.Context, spec azure.Spec) (interface{}, error)
3939
}
4040

4141
filter := fmt.Sprintf("location eq '%s'", s.Scope.Location())
42-
res, err := s.Client.List(ctx, filter)
42+
res, err := s.Client.List(ctx, filter, "true")
4343
if err != nil {
4444
return zones, err
4545
}

pkg/cloud/azure/services/availabilityzones/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package availabilityzones
1818

1919
import (
20-
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-03-01/compute"
20+
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
2121
"github.com/Azure/go-autorest/autorest"
2222
"github.com/openshift/machine-api-provider-azure/pkg/cloud/azure"
2323
"github.com/openshift/machine-api-provider-azure/pkg/cloud/azure/actuators"

0 commit comments

Comments
 (0)