forked from 0k/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.
12 lines
206 B
12 lines
206 B
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
. lib/common
|
|
|
|
DOMAIN=$(relation-get domain) || exit 1
|
|
PROTO=$(relation-get protocol) || true
|
|
PROTO=${PROTO:-https}
|
|
|
|
|
|
echo "$PROTO://$DOMAIN" > $SERVICE_CONFIGSTORE/etc/docker-auth/realm
|