Skip to content

Commit

Permalink
Add label to AppConfig KeyValue
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell committed Feb 1, 2024
1 parent b454ff1 commit 71e3eed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ The script becomes:
```bash
az deployment group create --resource-group DEPENDABOT \
--template-file main.bicep \
--parameters dependabot.parameters.json \
--parameters main.parameters.json \
--confirm-with-what-if
```

The parameters file (`dependabot.parameters.json`):
The parameters file (`main.parameters.json`):

```json
{
Expand Down
2 changes: 1 addition & 1 deletion server/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ resource appConfiguration 'Microsoft.AppConfiguration/configurationStores@2023-0

// override the default updater image tag for nuget jobs
// TODO: remove this here and on Azure once the authentication issues are resolved (https://github.com/tinglesoftware/dependabot-azure-devops/issues/921)
resource nugetVersion 'keyValues' = { name: 'Workflow:UpdaterImageTags:nuget', properties: { value: '1.24' } }
resource nugetVersion 'keyValues' = { name: 'Workflow:UpdaterImageTags:nuget$Production', properties: { value: '1.24' } }
}

/* Storage Account */
Expand Down
2 changes: 1 addition & 1 deletion server/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
{
"type": "Microsoft.AppConfiguration/configurationStores/keyValues",
"apiVersion": "2023-03-01",
"name": "[format('{0}/{1}', parameters('name'), 'Workflow:UpdaterImageTags:nuget')]",
"name": "[format('{0}/{1}', parameters('name'), 'Workflow:UpdaterImageTags:nuget$Production')]",
"properties": {
"value": "1.24"
},
Expand Down

0 comments on commit 71e3eed

Please sign in to comment.