fork 0k-charms
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
216 B

#!/bin/bash
set -e
. lib/common
cfg=$(relation-get registry-config) || {
err "registry-auth $TARGET_SERVICE_NAME is expected to set 'registry-config'"
exit 1
}
yaml_key_val_str "auth" "$cfg" | ini_merge