I am sorry, I’m not familiar with that way of installing RasaX.
I was referring to this method Helm Chart Installation.
The version “1.8.2” is the latest helm chart version that worked for me.
A quick look at curl -s get-rasa-x.rasa.com
would indicate that it executes a helm install
somewhere.
Installing a specific version of the chart could be done by saving the script, modifying the script somewhere around line 250 and then executing it.
Going from:
if [[ $1 == "install" ]]
then
command=("install")
else
command=("upgrade" "--reuse-values")
fi
command=("${command[@]}"
"--set rasax.tag=${RASA_X_VERSION}"
"--set eventService.tag=${RASA_X_VERSION}"
"--set nginx.tag=${RASA_X_VERSION}"
"--set rasa.tag=${RASA_VERSION}-full"
)
if [[ $1 == "install" ]]
then
command=("${command[@]}"
"--set rasax.initialUser.password=${INITIAL_USER_PASSWORD}"
"--set global.postgresql.postgresqlPassword=${POSTGRES_PASSWORD}"
"--set global.redis.password=${RABBITMQ_PASSWORD}"
"--set rabbitmq.rabbitmq.password=${REDIS_PASSWORD}")
fi
if $IS_EMBEDDED_CLUSTER
then
command=("${command[@]}" "--set nginx.service.type=ClusterIP")
command=("${command[@]}" "--set ingress.hosts[0].host=,ingress.hosts[0].paths={/}")
else
command=("${command[@]}" "--set nginx.service.type=${NGINX_SERVICE_TYPE}")
# gcloud needs another path for the ingress than K3s
command=("${command[@]}" "--set ingress.hosts[0].host=,ingress.hosts[0].paths={/*}")
fi
if [[ $1 == "install" ]] || [[ -n "${DISABLE_TELEMETRY}" ]]
then
command=("${command[@]}" "--set rasax.disableTelemetry=${DISABLE_TELEMETRY:-false}")
fi
if [[ $1 == "install" ]] || [[ -n "${ENABLE_DUCKLING}" ]]
then
command=("${command[@]}" "--set duckling.enabled=${ENABLE_DUCKLING:-False}")
fi
if [[ $1 == "install" ]] || [[ -n "${ACTION_SERVER_IMAGE}" ]]
then
command=("${command[@]}" "--set app.name=${ACTION_SERVER_IMAGE:-rasa/rasa-x-demo}")
fi
if [[ $1 == "install" ]] || [[ -n "${ACTION_SERVER_TAG}" ]]
then
command=("${command[@]}" "--set app.tag=${ACTION_SERVER_TAG:-${RASA_X_DEMO_VERSION}}")
fi
if [[ $1 == "install" ]] || [[ -n "${DEBUG_MODE}" ]]
then
command=("${command[@]}" "--set global.debugMode=${DEBUG_MODE:-False}")
fi
if [[ -n "${ADDITIONAL_CHANNEL_CREDENTIALS}" ]]
then
# additional credentials may be passed in comma separated, e.g.
# facebook.verify="dasda",facebook.test="dasd"
IFS=',' read -ra channels <<< "$ADDITIONAL_CHANNEL_CREDENTIALS"
for channel_setting in "${channels[@]}"
do
command=("${command[@]}" "--set rasa.additionalChannelCredentials.$channel_setting")
done
fi
command=("${command[@]}"
"--set rasax.extraEnvs[0].name=QUICK_INSTALL"
"--set-string rasax.extraEnvs[0].value=true"
"--namespace ${DEPLOYMENT_NAMESPACE}" "${DEPLOYMENT_NAME}" "rasa-x/rasa-x"
)
no_root_helm "${command[@]}" > ${REDIRECT}
}
To:
if [[ $1 == "install" ]]
then
command=("install")
else
command=("upgrade" "--reuse-values")
fi
command=("${command[@]}"
"--set rasax.tag=${RASA_X_VERSION}"
"--set eventService.tag=${RASA_X_VERSION}"
"--set nginx.tag=${RASA_X_VERSION}"
"--set rasa.tag=${RASA_VERSION}-full"
)
if [[ $1 == "install" ]]
then
command=("${command[@]}"
"--set rasax.initialUser.password=${INITIAL_USER_PASSWORD}"
"--set global.postgresql.postgresqlPassword=${POSTGRES_PASSWORD}"
"--set global.redis.password=${RABBITMQ_PASSWORD}"
"--set rabbitmq.rabbitmq.password=${REDIS_PASSWORD}")
fi
if $IS_EMBEDDED_CLUSTER
then
command=("${command[@]}" "--set nginx.service.type=ClusterIP")
command=("${command[@]}" "--set ingress.hosts[0].host=,ingress.hosts[0].paths={/}")
else
command=("${command[@]}" "--set nginx.service.type=${NGINX_SERVICE_TYPE}")
# gcloud needs another path for the ingress than K3s
command=("${command[@]}" "--set ingress.hosts[0].host=,ingress.hosts[0].paths={/*}")
fi
if [[ $1 == "install" ]] || [[ -n "${DISABLE_TELEMETRY}" ]]
then
command=("${command[@]}" "--set rasax.disableTelemetry=${DISABLE_TELEMETRY:-false}")
fi
if [[ $1 == "install" ]] || [[ -n "${ENABLE_DUCKLING}" ]]
then
command=("${command[@]}" "--set duckling.enabled=${ENABLE_DUCKLING:-False}")
fi
if [[ $1 == "install" ]] || [[ -n "${ACTION_SERVER_IMAGE}" ]]
then
command=("${command[@]}" "--set app.name=${ACTION_SERVER_IMAGE:-rasa/rasa-x-demo}")
fi
if [[ $1 == "install" ]] || [[ -n "${ACTION_SERVER_TAG}" ]]
then
command=("${command[@]}" "--set app.tag=${ACTION_SERVER_TAG:-${RASA_X_DEMO_VERSION}}")
fi
if [[ $1 == "install" ]] || [[ -n "${DEBUG_MODE}" ]]
then
command=("${command[@]}" "--set global.debugMode=${DEBUG_MODE:-False}")
fi
if [[ -n "${ADDITIONAL_CHANNEL_CREDENTIALS}" ]]
then
# additional credentials may be passed in comma separated, e.g.
# facebook.verify="dasda",facebook.test="dasd"
IFS=',' read -ra channels <<< "$ADDITIONAL_CHANNEL_CREDENTIALS"
for channel_setting in "${channels[@]}"
do
command=("${command[@]}" "--set rasa.additionalChannelCredentials.$channel_setting")
done
fi
command=("${command[@]}"
"--set rasax.extraEnvs[0].name=QUICK_INSTALL"
"--set-string rasax.extraEnvs[0].value=true"
"--namespace ${DEPLOYMENT_NAMESPACE}" "${DEPLOYMENT_NAME}" "rasa-x/rasa-x"
"--version 1.8.2"
)
no_root_helm "${command[@]}" > ${REDIRECT}
}
That little change to this bit
command=("${command[@]}"
"--set rasax.extraEnvs[0].name=QUICK_INSTALL"
"--set-string rasax.extraEnvs[0].value=true"
"--namespace ${DEPLOYMENT_NAMESPACE}" "${DEPLOYMENT_NAME}" "rasa-x/rasa-x"
)
should do the trick for this specific situation.
It’s not as pretty as just curl -s get-rasa-x.rasa.com | sudo bash
but it should get you out of this situation you are in.