Skip to content

Commit

Permalink
Fix issues with version.json and extra env declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
oZakari committed Jul 30, 2024
1 parent a789864 commit 5591305
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
15 changes: 9 additions & 6 deletions avm/res/app/container-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The following section provides usage examples for the module, which were used to
- [Using only defaults](#example-1-using-only-defaults)
- [Without ingress enabled](#example-2-without-ingress-enabled)
- [Max](#example-3-max)
- [Using large parameter set](#example-3-using-large-parameter-set)
- [VNet integrated container app deployment](#example-4-vnet-integrated-container-app-deployment)
- [WAF-aligned](#example-5-waf-aligned)

Expand Down Expand Up @@ -185,7 +185,10 @@ module containerApp 'br/public:avm/res/app/container-app:<version>' = {
</details>
<p>

### Example 3: _Max_
### Example 3: _Using large parameter set_

This instance deploys the module with most of its features enabled.


<details>

Expand All @@ -200,8 +203,8 @@ module containerApp 'br/public:avm/res/app/container-app:<version>' = {
{
env: [
{
name: 'test'
value: 'max'
name: 'TestGuid'
secretRef: 'customtest'
}
]
image: 'mcr.microsoft.com/azuredocs/containerapps-helloworld:latest'
Expand Down Expand Up @@ -293,8 +296,8 @@ module containerApp 'br/public:avm/res/app/container-app:<version>' = {
{
"env": [
{
"name": "test",
"value": "max"
"name": "TestGuid",
"secretRef": "customtest"
}
],
"image": "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest",
Expand Down
6 changes: 0 additions & 6 deletions avm/res/app/container-app/tests/e2e/max/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,6 @@ module testDeployment '../../../main.bicep' = [
periodSeconds: 3
}
]
env: [
{
name: 'test'
value: 'max'
}
]
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion avm/res/app/container-app/version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://aka.ms/bicep-registry-module-version-file-schema#",
"version": "v0.7-1",
"version": "0.7",
"pathFilters": [
"./main.json"
]
Expand Down

0 comments on commit 5591305

Please sign in to comment.