Skip to content

Commit

Permalink
Patch up scripts/ci-integration.sh for cert-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
detiber committed Nov 19, 2019
1 parent f4bc212 commit f8b8441
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/ci-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ CRD_YAML="crd.yaml"
BOOTSTRAP_CLUSTER_NAME="clusterapi-bootstrap"
CONTROLLER_REPO="controller-ci" # use arbitrary repo name since we don't need to publish it
EXAMPLE_PROVIDER_REPO="example-provider-ci"
CERT_MANAGER_URL="https://github.com/jetstack/cert-manager/releases/download/v0.11.0/cert-manager.yaml"

GOOS=$(go env GOOS)
GOARCH=$(go env GOARCH)
Expand Down Expand Up @@ -131,6 +132,11 @@ main() {
prepare_crd_yaml
create_bootstrap

kubectl create -f "${CERT_MANAGER_URL}"
set +e
wait_deployment_available "cert-manager-webhook" "cert-manager"
set -e

kubectl create -f "${CRD_YAML}"

set +e
Expand Down

0 comments on commit f8b8441

Please sign in to comment.