Code Review
/
nonrtric
/
plt
/
ranpm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Enable Sonar & Add Unit tests in PMDataConverter (Go)
[nonrtric/plt/ranpm.git]
/
install
/
install-pm-influx-job.sh
diff --git
a/install/install-pm-influx-job.sh
b/install/install-pm-influx-job.sh
index
9f4abb3
..
1de513e
100755
(executable)
--- a/
install/install-pm-influx-job.sh
+++ b/
install/install-pm-influx-job.sh
@@
-29,14
+29,14
@@
check_error() {
fi
}
fi
}
-export KHOST=$(kube_get_controlplane_host)
+export K
UBERNETES
HOST=$(kube_get_controlplane_host)
if [ $? -ne 0 ]; then
if [ $? -ne 0 ]; then
- echo $KHOST
+ echo $K
UBERNETES
HOST
echo "Exiting"
exit 1
fi
echo "Exiting"
exit 1
fi
-echo "Kubernetes control plane host: $KHOST"
+echo "Kubernetes control plane host: $K
UBERNETES
HOST"
. scripts/kube_get_nodeport.sh
. scripts/get_influxdb2_token.sh
. scripts/kube_get_nodeport.sh
. scripts/get_influxdb2_token.sh
@@
-53,7
+53,6
@@
bucket=pm-bucket
echo "Creating bucket $bucket in influxdb2"
create_influxdb2_bucket influxdb2-0 nonrtric $bucket
echo "Creating bucket $bucket in influxdb2"
create_influxdb2_bucket influxdb2-0 nonrtric $bucket
-export KC_PORT=$(kube_get_nodeport keycloak nonrtric http)
. scripts/populate_keycloak.sh
cid="console-setup"
. scripts/populate_keycloak.sh
cid="console-setup"