Skip to content

Commit

Permalink
Use any webhook version in the charts
Browse files Browse the repository at this point in the history
  • Loading branch information
tomleb committed Sep 18, 2024
1 parent f851349 commit 2b26a7a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/scripts/start-rancher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,17 @@ kubectl rollout status --namespace cert-manager deploy/cert-manager --timeout 1m

# Chart based

helm upgrade --install rancher "$CHART_PATH" --namespace cattle-system --set replicas=1 --set hostname=localhost --wait --timeout=10m --create-namespace --version "$VERSION" --set rancherImage=rancher/rancher --set rancherImageTag="$RANCHER_IMAGE_TAG"
# Set empty CATTLE_RANCHER_WEBHOOK_VERSION to install any webhook that's in the
# bundled charts index
helm upgrade \
--install rancher "$CHART_PATH" \
--namespace cattle-system \
--wait --timeout=10m \
--create-namespace \
--version "$VERSION" \
--set replicas=1 \
--set hostname=localhost \
--set rancherImage=rancher/rancher \
--set rancherImageTag="$RANCHER_IMAGE_TAG" \
--set 'extraEnv[0].name=CATTLE_RANCHER_WEBHOOK_VERSION' \
--set "extraEnv[0].value="

0 comments on commit 2b26a7a

Please sign in to comment.