-
Notifications
You must be signed in to change notification settings - Fork 381
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
feat: Add osSKU parameter back #3856
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com>
Important The "Needs: Triage 🔍" label must be removed once the triage process is complete! Tip For additional guidance on how to triage this issue/PR, see the BRM Issue Triage documentation. |
Important If this is a module-related PR, being submitted by the sole owner of the module, the AVM core team must review and approve it (as module owners can't approve their own PRs). To indicate this PR needs the core team''s attention, apply the "Needs: Core Team 🧞" label! The core team will only review and approve PRs that have this label applied! |
… resources Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com>
…08-01 Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please note, while this PR looks absolutely fine as far as I'm concerned it will fail in upstream due to: #3646 who's underlying issue needs to be resolved first.
Mind while, while we got merge regardless, this would mean the module would not be published.
@@ -599,6 +599,7 @@ resource managedCluster 'Microsoft.ContainerService/managedClusters@2024-03-02-p | |||
osDiskSizeGB: profile.?osDiskSizeGB | |||
osDiskType: profile.?osDiskType | |||
osType: profile.?osType ?? 'Linux' | |||
osSKU: profile.?osSku ?? 'AzureLinux' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's bring some consistency here and let us always use osSKU
.
default value is Ubuntu as per documentation:
Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated.
osSKU: profile.?osSku ?? 'AzureLinux' | |
osSKU: profile.?osSKU' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please update osSku -> osSKU in the type definition, parameter definition and in agentPool.bicep
alternatively, I already have the changes in a branch of mine.
https://github.com/JPEasier/bicep-registry-modules/tree/users/jpeasier/avm-aks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you have the changes in your Branch already then, we can use that, and I can close this PR. When would you be pushing your branch?
…nd JSON files Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com>
Hi team, I also hit this issue this week trying to deploy AzureLinux. Just checking in on the ETA for the review/merge? |
Hey @asw101, But if bad comes to worse @JPEasier & @ilhaan, let's remove the blocking preview feature from the module again. store the code in some branch, and contribute it back once we got answers to the pending questions. |
Agree, this could be a good workaroud. |
Thank you @AlexanderSehr & @JPEasier. Yes, whatever allows us to deploy AzureLinux sooner, even in the interim, would be wonderful. I see AKS Automatic referenced as well, and that's something else my team uses heavily. |
Signed-off-by: PixelRobots 22979170+PixelRobots@users.noreply.github.com
Description
Fixes #3595
Fixes #3819
Pipeline Reference
Type of Change
version.json
:version.json
.version.json
.Checklist
Set-AVMModule
locally to generate the supporting module files.