Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/v0.4] Fix webhook not deployed in CI #508

Open
wants to merge 1 commit into
base: release/v0.4
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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="
Loading