mirror of
https://github.com/samply/bridgehead.git
synced 2026-10-12 22:56:41 +02:00
* cce: Fetch the config repository token via Secret Sync * Keep the Secret Sync GitLab token across reboots and outages * Install site configuration with a one-time enrollment code * Align the itcc and dhki cases in prepare-system.sh * Report an unreachable broker instead of a clock skew during install * Show bridgehead check results as OK, WARN or CRIT and run them during install * Refresh the config repo token before bridgehead check fetches * Skip Secret Sync until the private key and root certificate exist * Indent the case block in prepare-system.sh with tabs only * Hide the config repo URL, token and enrollment code from other local users * remove the unreachable second dhki case --------- Co-authored-by: Martin Lablans <m.lablans@dkfz-heidelberg.de>
12 lines
211 B
Bash
Executable File
12 lines
211 B
Bash
Executable File
#!/bin/bash
|
|
|
|
[ "$1" = "get" ] || exit
|
|
|
|
source /var/cache/bridgehead/secrets/gitlab-token
|
|
|
|
# Any non-empty username works, only the token matters
|
|
cat << EOF
|
|
username=bk
|
|
password=$BRIDGEHEAD_CONFIG_REPO_TOKEN
|
|
EOF
|