File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
.github/workflows/e2e/scripts Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,17 @@ helm repo add ${HELM_REPO} $HELM_REPO_URL
2121helm repo update
2222
2323echo " Create required \` cattle-fleet-system\` namespace"
24- kubectl create namespace cattle-fleet-system
24+ kubectl create namespace cattle-fleet-system 2> /dev/null || true
2525
26- echo " Installing rancher monitoring crd with :\n "
26+ echo " Installing rancher monitoring crd with :"
2727
2828helm search repo ${HELM_REPO} /rancher-monitoring-crd --versions --max-col-width=0 | head -n 2
2929
3030helm upgrade --install --create-namespace -n cattle-monitoring-system ${RANCHER_MONITORING_VERSION_HELM_ARGS} rancher-monitoring-crd ${HELM_REPO} /rancher-monitoring-crd
3131
32+ echo " Checking installed crd version info:"
33+ helm list -n cattle-monitoring-system
34+
3235if [[ " ${E2E_CI} " == " true" ]]; then
3336 e2e_args=" --set grafana.resources=null --set prometheus.prometheusSpec.resources=null --set alertmanager.alertmanagerSpec.resources=null"
3437fi
@@ -48,9 +51,12 @@ case "${KUBERNETES_DISTRIBUTION_TYPE}" in
4851 exit 1
4952esac
5053
51- echo " Installing rancher monitoring with :\n "
54+ echo " Installing rancher monitoring with :"
5255
5356helm search repo ${HELM_REPO} /rancher-monitoring --versions --max-col-width=0 | head -n 2
5457helm upgrade --install --create-namespace -n cattle-monitoring-system rancher-monitoring ${cluster_args} ${e2e_args} ${RANCHER_HELM_ARGS} ${HELM_REPO} /rancher-monitoring
5558
59+ echo " Checking installed rancher monitoring versions :"
60+ helm list -n cattle-monitoring-system
61+
5662echo " PASS: Rancher Monitoring has been installed"
You can’t perform that action at this time.
0 commit comments