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

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