feat(helm): export path

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2024-01-18 11:34:45 +01:00
parent 5b8349bb14
commit 2576a9af1f

View file

@ -19,6 +19,8 @@ fatal() {
exit 1
}
export PATH=/var/lib/openreplay:$PATH
usr=$(whoami)
# Installing k3s
@ -142,9 +144,11 @@ function set_permissions() {
## Installing OpenReplay
function install_openreplay() {
info "installing toolings"
helm uninstall tooling -n app || true
helm upgrade --install toolings ./toolings -n app --create-namespace --wait -f ./vars.yaml --atomic --debug ${HELM_OPTIONS}
[[ $OR_CORE_ONLY ]] || {
info "installing toolings"
helm uninstall tooling -n app || true
helm upgrade --install toolings ./toolings -n app --create-namespace --wait -f ./vars.yaml --atomic --debug ${HELM_OPTIONS}
}
info "installing databases"
helm upgrade --install databases ./databases -n db --create-namespace --wait -f ./vars.yaml --atomic --debug ${HELM_OPTIONS}
info "installing application"