curl --location --request POST 'http://127.0.0.1:5000/api/v1/mplaunch' \
--header 'Authorization: Bearer token' \
--header 'Content-Type: application/json' \
--data-raw '{
"mpname": "testmp",
"mpversion": "0.0.2",
"projectname": "NTXCHGR018",
"appname": "testmp",
"appprofil": "Nutanix",
"appparams": [{
"name": "VMNAME",
"value": "testmp"
}]
}'
The call return a header Location with the status of the running task in the format
http://127.0.0.1:5000/status/ade247c1e2794b9f8bee2963aebf044c
eval $(cat .env | sed 's/^/export /')
helm install -n dev --set ntx.username=$PC_USER,ntx.password=$PC_PASSWORD,ntx.prismcentralhost=$PC_HOST,ntx.tokens=$TOKENS launchmp launchmp-helm/.