Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pkg/cloudprovider/provider/azure/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ var imageReferences = map[providerconfig.OperatingSystem]compute.ImageReference{
providerconfig.OperatingSystemRHEL: {
Publisher: to.StringPtr("RedHat"),
Offer: to.StringPtr("rhel-byos"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if we try to use official azure RHEL images?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To use a different image, they need to provide the image ID, that’s the current behaviour we support as well.

Sku: to.StringPtr("rhel-lvm85"),
Version: to.StringPtr("8.5.20220316"),
Sku: to.StringPtr("rhel-lvm95"),
Version: to.StringPtr("9.5.2024112215"),
},
providerconfig.OperatingSystemFlatcar: {
Publisher: to.StringPtr("kinvolk"),
Expand All @@ -169,7 +169,7 @@ var imageReferences = map[providerconfig.OperatingSystem]compute.ImageReference{

var osPlans = map[providerconfig.OperatingSystem]*compute.Plan{
providerconfig.OperatingSystemRHEL: {
Name: ptr.To("rhel-lvm85"),
Name: ptr.To("rhel-lvm95"),
Publisher: ptr.To("redhat"),
Product: ptr.To("rhel-byos"),
},
Expand Down