Skip to content

Commit

Permalink
fix: remove skip-crds (#7267)
Browse files Browse the repository at this point in the history
  • Loading branch information
rschalo authored Oct 22, 2024
1 parent 94f277a commit 5d32f81
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/hack/e2e_scripts/install_karpenter.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
aws eks update-kubeconfig --name "$CLUSTER_NAME"

# First, conditionally install the webhook stanza and CRDs
SKIP_CRDS=false
if (( "$WEBHOOKS_ENABLED" == false )); then
SKIP_CRDS=true
helm upgrade --install karpenter-crd oci://$ECR_ACCOUNT_ID.dkr.ecr.$ECR_REGION.amazonaws.com/karpenter/snapshot/karpenter-crd \
--namespace kube-system \
--version "0-$(git rev-parse HEAD)" \
Expand Down Expand Up @@ -44,5 +42,4 @@ helm upgrade --install karpenter "${CHART}" \
--set "serviceMonitor.endpointConfig.relabelings[2].replacement=$(git describe --abbrev=0 --tags)" \
--set "serviceMonitor.endpointConfig.relabelings[3].targetLabel=commitsAfterTag" \
--set "serviceMonitor.endpointConfig.relabelings[3].replacement=\"$(git describe --tags | cut -d '-' -f 2)\"" \
--skip-crds $SKIP_CRDS \
--wait

0 comments on commit 5d32f81

Please sign in to comment.