Skip to content

Commit

Permalink
ansible: Include console.redhat.com password in image-upload secrets
Browse files Browse the repository at this point in the history
This is necessary for rhel4edge refreshes. Add a new
`$COCKPIT_CRC_PASSWORD` env variable for it so that we can stop
hardcoding the path in bots rhel4edge.bootstrap.
  • Loading branch information
martinpitt committed Mar 11, 2024
1 parent ea998a0 commit ced6297
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ansible/roles/tasks-systemd/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@
image-upload=[
'--volume=/var/lib/cockpit-secrets/tasks/s3-keys/:/run/secrets/s3-keys:ro',
'--env=COCKPIT_S3_KEY_DIR=/run/secrets/s3-keys',
# for rhel4edge console.redhat.com
'--volume=/var/lib/cockpit-secrets/tasks/crc_passwd:/run/secrets/crc_passwd:ro',
'--env=COCKPIT_CRC_PASSWORD=/run/secrets/crc_passwd',
]
image-download=[
'--volume=/var/lib/cockpit-secrets/tasks/s3-keys/:/run/secrets/s3-keys:ro',
Expand Down

0 comments on commit ced6297

Please sign in to comment.