2019-11-14 04:08:34 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [[ "$#" -ne 1 ]]; then
|
|
|
|
echo "usage: $0 resourceid" >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2020-02-26 22:34:50 +03:00
|
|
|
go run ./hack/db "$1" | jq -r .openShiftCluster.properties.adminKubeconfig | base64 -d | sed -e 's|https://api-int\.|https://api\.|'
|