osbuild-worker: add CHANNEL to worker logs
aka "the deployment channel" like "staging" or "production"
This commit is contained in:
parent
2519e55ccd
commit
8d24dcfbde
4 changed files with 22 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ jq -r ".client_secret" /tmp/client-credentials.json > /etc/osbuild-worker/client
|
|||
rm -f /tmp/client-credentials.json
|
||||
|
||||
sudo tee -a /etc/osbuild-worker/osbuild-worker.toml > /dev/null << EOF
|
||||
deployment_channel = "${CHANNEL:-local}"
|
||||
[authentication]
|
||||
oauth_url = "${TOKEN_URL:-https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token}"
|
||||
client_id = "${CLIENT_ID}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue