cmd/osbuild-worker: Configure s3 bucket on the worker itself
Parameterize aws section of worker config. If credentials is empty, the iam role will be used.
This commit is contained in:
parent
3a2002f557
commit
63a0bbc1f2
3 changed files with 16 additions and 5 deletions
|
|
@ -14,7 +14,8 @@ credentials = "/etc/osbuild-worker/gcp_credentials.json"
|
|||
[azure]
|
||||
credentials = "/etc/osbuild-worker/azure_credentials.toml"
|
||||
[aws]
|
||||
credentials = "/etc/osbuild-worker/aws_credentials.toml"
|
||||
credentials = "${WORKER_CONFIG_AWS_CREDENTIALS:-}"
|
||||
bucket = "${WORKER_CONFIG_AWS_BUCKET:-}"
|
||||
EOF
|
||||
|
||||
# Prepare osbuild-composer's remote worker services and sockets.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue