Skip to content

Commit 09b2f30

Browse files
authored
fix: shorten secret name for container app job (#422)
`Secret names cannot be longer than 20. Please shorten dialogdbconnectionstringsecreturi` 🤷
1 parent deb6cb3 commit 09b2f30

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.azure/modules/containerAppJob/main.bicep

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ resource job 'Microsoft.App/jobs@2023-05-01' = {
1616
secrets: [
1717
{
1818
// todo: move this and refactor into adding this somewhere else
19-
name: 'dialogdbconnectionstringsecreturi'
19+
name: 'dbconnectionstring'
2020
keyVaultUrl: adoConnectionStringSecretUri
2121
identity: 'System'
2222
}
@@ -36,7 +36,7 @@ resource job 'Microsoft.App/jobs@2023-05-01' = {
3636
env: [
3737
{
3838
name: 'Infrastructure__DialogDbConnectionString'
39-
secretRef: 'dialogdbconnectionstringsecreturi'
39+
secretRef: 'dbconnectionstring'
4040
}
4141
]
4242
image: image

.github/tools/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Tools
22

3-
`.github/tools/containerAppJobVerifier.sh` is used to verify the status of a container application job. It checks if the job has completed successfully or not.
3+
`.github/tools/containerAppJobVerifier.sh` is used to verify the status of a container application job. It checks if the job has completed successfully or not
44

55
`.github/tools/pwdGenerator.ps1` is used to generate passwords.
66

0 commit comments

Comments
 (0)