File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed
charts/cluster-api-operator Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -476,7 +476,7 @@ release-manifests: $(KUSTOMIZE) $(RELEASE_DIR) ## Builds the manifests to publis
476
476
release-chart : $(HELM ) $(KUSTOMIZE ) $(RELEASE_DIR ) $(CHART_DIR ) $(CHART_PACKAGE_DIR ) # # Builds the chart to publish with a release
477
477
cp -rf $(ROOT ) /hack/charts/cluster-api-operator/. $(CHART_DIR )
478
478
$(KUSTOMIZE ) build ./config/chart > $(CHART_DIR ) /templates/operator-components.yaml
479
- $(ROOT ) /hack/inject-cert-manager-helm .sh $(CERT_MANAGER_VERSION )
479
+ $(ROOT ) /hack/inject-cert-manager-chart-version .sh $(CERT_MANAGER_VERSION )
480
480
$(HELM ) package $(CHART_DIR ) --app-version=$(HELM_CHART_TAG ) --version=$(HELM_CHART_TAG ) --destination=$(CHART_PACKAGE_DIR )
481
481
482
482
.PHONY : release-staging
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ cert-manager:
5
5
enabled : false
6
6
fullnameOverride : " cert-manager"
7
7
namespace : " cert-manager"
8
+ installCRDs : true
8
9
# ---
9
10
# Cluster API provider options
10
11
core : " "
Original file line number Diff line number Diff line change @@ -32,15 +32,9 @@ if [[ ! "$1" =~ ^v([0-9]+)\.([0-9]+)\.([0-9]+)$ ]]; then
32
32
fi
33
33
34
34
VERSION=$1
35
- URL=" https://github.com/cert-manager/cert-manager/releases/download/${VERSION} /cert-manager.crds.yaml"
36
- OUTPUT_DIR=" ${CHART_DIR} /crds"
37
35
38
36
# Create the output directory if it doesn't exist
39
- mkdir -p " $OUTPUT_DIR "
40
-
41
- # Download and save the file
42
- curl -L -o " ${OUTPUT_DIR} /cert-manager.crds.yaml" " $URL "
43
- echo " Downloaded cert-manager.crds.yaml for ${VERSION} and saved it in ${OUTPUT_DIR} "
37
+ mkdir -p " $CHART_DIR "
44
38
45
39
# Modify version in Chart.yaml
46
40
CHART_FILE=" ${CHART_DIR} /Chart.yaml"
You can’t perform that action at this time.
0 commit comments