Skip to content

Commit

Permalink
Fix variable expression
Browse files Browse the repository at this point in the history
  • Loading branch information
janboll committed Dec 13, 2024
1 parent 5895ce6 commit cebe9e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev-infrastructure/templates/image-sync.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ param componentSyncSecrets string

var csSecrets = json(componentSyncSecrets)

var bearerSecrets = [ for css in csSecrets: [ '${css.secret}' ]]
var bearerSecrets = [ for css in csSecrets: '${css.secret}']


var secretsFolder = '/etc/containers'

var secretWithFolderPrefix = [ for css in csSecrets: {
registry: css.registry
secretFile: '${secretsFolder}/${css.secret}'
Expand Down

0 comments on commit cebe9e1

Please sign in to comment.