|
|
@@ -29,9 +29,7 @@ if [[ -n $1 ]]; then |
|
|
|
exit |
|
|
|
fi |
|
|
|
|
|
|
|
#if [[ -n ${IPADDRESS} ]]; then |
|
|
|
# echo "IP Address = ${IPADDRESS}" |
|
|
|
#fi |
|
|
|
DATETIME=$(date '%(%Y%m%d-%H%M%S)T\n' -1) |
|
|
|
|
|
|
|
NODENAME=$(${NEBULACERTBINPATH} print -path ${CERTPATH} -json | jq -s .[].details.name | sed 's/["]//g') |
|
|
|
NODEIPS=$(${NEBULACERTBINPATH} print -path ${CERTPATH} -json | jq -s --compact-output .[].details.ips | sed 's/[]["]//g') |
|
|
@@ -48,4 +46,5 @@ if [[ $CERTISCASTATUS == false ]]; then |
|
|
|
echo "Node IPs: ${NODEIPS}" |
|
|
|
echo "Node Groups: ${NODEGROUPS[@]}" |
|
|
|
echo "Certificate isCa Status: ${CERTISCASTATUS}" |
|
|
|
echo "DateTime: ${DATETIME}" |
|
|
|
fi |