Skip to content
Snippets Groups Projects

Use helm upgrade instead of install

Closed Diogo Filipe Tomas Guerra requested to merge helm-upgrade into cern/train
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -184,7 +184,7 @@ data:
@@ -184,7 +184,7 @@ data:
echo "${CHART_NAME} already installed on server. Continue..."
echo "${CHART_NAME} already installed on server. Continue..."
exit 0
exit 0
else
else
helm -n kube-system install ${CHART_NAME} releases/${CHART_NAME} --wait --version ${CERN_CHART_VERSION} --values /opt/magnum/install-${CHART_NAME}-values.yaml
helm -n kube-system upgrade -i ${CHART_NAME} releases/${CHART_NAME} --wait --version ${CERN_CHART_VERSION} --values /opt/magnum/install-${CHART_NAME}-values.yaml
fi
fi
install-${CHART_NAME}-values.yaml: |
install-${CHART_NAME}-values.yaml: |
Loading