X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=install%2Finstall-pm-influx-job.sh;h=2b79eded14e7f7aae704a9c55ac36bf64820f463;hb=1f12db1405660950228b90493e6f185418ff73f0;hp=9f4abb32bd2928418d42488fc572312c2590eca3;hpb=c5655db5780275b07b25b57b767808f2f1eac7d9;p=nonrtric%2Fplt%2Franpm.git diff --git a/install/install-pm-influx-job.sh b/install/install-pm-influx-job.sh index 9f4abb3..2b79ede 100755 --- a/install/install-pm-influx-job.sh +++ b/install/install-pm-influx-job.sh @@ -29,21 +29,21 @@ check_error() { fi } -export KHOST=$(kube_get_controlplane_host) +export KUBERNETESHOST=$(kube_get_controlplane_host) if [ $? -ne 0 ]; then - echo $KHOST + echo $KUBERNETESHOST echo "Exiting" exit 1 fi -echo "Kubernetes control plane host: $KHOST" +echo "Kubernetes control plane host: $KUBERNETESHOST" . scripts/kube_get_nodeport.sh . scripts/get_influxdb2_token.sh . scripts/create_influxdb2_bucket.sh . scripts/create_ics_job.sh -echo "Installtion pm to influx job" +echo "Installation pm to influx job" echo " Retriving influxdb2 access token..." INFLUXDB2_TOKEN=$(get_influxdb2_token influxdb2-0 nonrtric) @@ -53,7 +53,6 @@ bucket=pm-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"