-
Notifications
You must be signed in to change notification settings - Fork 369
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 <[email protected]>
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 <[email protected]>
…08-01 Signed-off-by: PixelRobots <[email protected]>
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 <[email protected]>
Signed-off-by: PixelRobots [email protected]
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.