Minor fix for RANPM
[nonrtric/plt/ranpm.git] / install / install-pm-influx-job.sh
index 9f4abb3..2b79ede 100755 (executable)
@@ -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"