Skip to content

Commit

Permalink
fix: Trigger AZD AKS publishing (#3512)
Browse files Browse the repository at this point in the history
## Description

- Updates the API versions of referenced modules to trigger publishing

Dependend on #3228

## Pipeline Reference

<!-- Insert your Pipeline Status Badge below -->

| Pipeline |
| -------- |
|
[![avm.ptn.azd.aks](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.ptn.azd.aks.yml/badge.svg?branch=users%2Falsehr%2FazdAKSPublishing&event=workflow_dispatch)](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.ptn.azd.aks.yml)
|

## Type of Change

<!-- Use the checkboxes [x] on the options that are relevant. -->

- [ ] Update to CI Environment or utilities (Non-module affecting
changes)
- [x] Azure Verified Module updates:
- [ ] Bugfix containing backwards-compatible bug fixes, and I have NOT
bumped the MAJOR or MINOR version in `version.json`:
- [ ] Someone has opened a bug report issue, and I have included "Closes
#{bug_report_issue_number}" in the PR description.
- [ ] The bug was found by the module author, and no one has opened an
issue to report it yet.
- [ ] Feature update backwards compatible feature updates, and I have
bumped the MINOR version in `version.json`.
- [ ] Breaking changes and I have bumped the MAJOR version in
`version.json`.
  - [ ] Update to documentation
  • Loading branch information
AlexanderSehr authored Oct 14, 2024
1 parent cab8eda commit d484057
Show file tree
Hide file tree
Showing 5 changed files with 458 additions and 165 deletions.
19 changes: 12 additions & 7 deletions avm/ptn/azd/aks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ Creates an Azure Kubernetes Service (AKS) cluster with a system agent pool as we
| `Microsoft.KeyVault/vaults/secrets` | [2022-07-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.KeyVault/2022-07-01/vaults/secrets) |
| `Microsoft.KubernetesConfiguration/extensions` | [2022-03-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.KubernetesConfiguration/2022-03-01/extensions) |
| `Microsoft.KubernetesConfiguration/fluxConfigurations` | [2022-03-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.KubernetesConfiguration/2022-03-01/fluxConfigurations) |
| `Microsoft.Network/privateEndpoints` | [2023-04-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2023-04-01/privateEndpoints) |
| `Microsoft.Network/privateEndpoints/privateDnsZoneGroups` | [2023-04-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2023-04-01/privateEndpoints/privateDnsZoneGroups) |
| `Microsoft.Network/privateEndpoints` | [2023-11-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2023-11-01/privateEndpoints) |
| `Microsoft.Network/privateEndpoints/privateDnsZoneGroups` | [2023-11-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2023-11-01/privateEndpoints/privateDnsZoneGroups) |

## Usage examples

Expand Down Expand Up @@ -70,6 +70,7 @@ module aks 'br/public:avm/ptn/azd/aks:<version>' = {
principalId: '<principalId>'
// Non-required parameters
location: '<location>'
principalType: 'ServicePrincipal'
}
}
```
Expand Down Expand Up @@ -105,6 +106,9 @@ module aks 'br/public:avm/ptn/azd/aks:<version>' = {
// Non-required parameters
"location": {
"value": "<location>"
},
"principalType": {
"value": "ServicePrincipal"
}
}
}
Expand All @@ -128,6 +132,7 @@ param name = '<name>'
param principalId = '<principalId>'
// Non-required parameters
param location = '<location>'
param principalType = 'ServicePrincipal'
```

</details>
Expand Down Expand Up @@ -162,7 +167,7 @@ module aks 'br/public:avm/ptn/azd/aks:<version>' = {
name: 'npuserpool'
osType: 'Linux'
type: 'VirtualMachineScaleSets'
vmSize: 'standard_a2'
vmSize: 'standard_a2_v2'
}
]
aksClusterRoleAssignmentName: '<aksClusterRoleAssignmentName>'
Expand Down Expand Up @@ -217,7 +222,7 @@ module aks 'br/public:avm/ptn/azd/aks:<version>' = {
"name": "npuserpool",
"osType": "Linux",
"type": "VirtualMachineScaleSets",
"vmSize": "standard_a2"
"vmSize": "standard_a2_v2"
}
]
},
Expand Down Expand Up @@ -272,7 +277,7 @@ param agentPools = [
name: 'npuserpool'
osType: 'Linux'
type: 'VirtualMachineScaleSets'
vmSize: 'standard_a2'
vmSize: 'standard_a2_v2'
}
]
param aksClusterRoleAssignmentName = '<aksClusterRoleAssignmentName>'
Expand Down Expand Up @@ -1036,9 +1041,9 @@ This section gives you an overview of all local-referenced module files (i.e., o

| Reference | Type |
| :-- | :-- |
| `br/public:avm/res/container-registry/registry:0.4.0` | Remote reference |
| `br/public:avm/res/container-registry/registry:0.5.1` | Remote reference |
| `br/public:avm/res/container-service/managed-cluster:0.3.0` | Remote reference |
| `br/public:avm/res/key-vault/vault:0.7.1` | Remote reference |
| `br/public:avm/res/key-vault/vault:0.9.0` | Remote reference |

## Data Collection

Expand Down
4 changes: 2 additions & 2 deletions avm/ptn/azd/aks/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ module managedCluster 'br/public:avm/res/container-service/managed-cluster:0.3.0
}
}

module containerRegistry 'br/public:avm/res/container-registry/registry:0.4.0' = {
module containerRegistry 'br/public:avm/res/container-registry/registry:0.5.1' = {
name: '${uniqueString(deployment().name, location)}-container-registry'
params: {
name: containerRegistryName
Expand Down Expand Up @@ -296,7 +296,7 @@ module containerRegistry 'br/public:avm/res/container-registry/registry:0.4.0' =
}
}

module keyVault 'br/public:avm/res/key-vault/vault:0.7.1' = {
module keyVault 'br/public:avm/res/key-vault/vault:0.9.0' = {
name: '${uniqueString(deployment().name, location)}-key-vault'
params: {
name: keyVaultName
Expand Down
Loading

0 comments on commit d484057

Please sign in to comment.