Skip to content

Commit

Permalink
shorten some deployment names
Browse files Browse the repository at this point in the history
there is an upper limit of 64 chars for deployment names

Signed-off-by: Gerd Oberlechner <[email protected]>
  • Loading branch information
geoberle committed Dec 11, 2024
1 parent bd5b9d8 commit 9569b6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dev-infrastructure/templates/global-acr.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ param svcAcrSku string
param location string

module ocpAcr '../modules/acr/acr.bicep' = {
name: '${deployment().name}-${ocpAcrName}'
name: ocpAcrName
params: {
acrName: ocpAcrName
acrSku: ocpAcrSku
Expand All @@ -20,7 +20,7 @@ module ocpAcr '../modules/acr/acr.bicep' = {
}

module svcAcr '../modules/acr/acr.bicep' = {
name: '${deployment().name}-${svcAcrSku}'
name: svcAcrSku
params: {
acrName: svcAcrName
acrSku: svcAcrSku
Expand Down
2 changes: 1 addition & 1 deletion dev-infrastructure/templates/image-sync.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ param ocpPullSecretName string
//

module kv '../modules/keyvault/keyvault.bicep' = {
name: '${deployment().name}-imagesync-kv'
name: 'imagesync-kv'
params: {
location: location
keyVaultName: keyVaultName
Expand Down

0 comments on commit 9569b6c

Please sign in to comment.