Skip to content

Commit 4e959bd

Browse files
AvineshTripathiajaysundark
authored andcommitted
feat(Makefile): add tls and webhook installation support to makefile (kubernetes-sigs#146)
Signed-off-by: AvineshTripathi <avineshtripathi1@gmail.com>
1 parent 6c3c15d commit 4e959bd

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,14 @@ build-installer: build-manifests-temp ## Generate CRDs and deployment manifests
218218
# Generate CRDs only
219219
$(KUSTOMIZE) build config/crd > dist/crds.yaml
220220
@echo "Generated dist/crds.yaml"
221-
# Generate controller deployment without CRDs
221+
# Generate standard installation (core controller only) manifest without CRDs
222222
cp $(BUILD_DIR)/manifests.yaml dist/install.yaml
223223
@echo "Generated dist/install.yaml with image ${IMG_PREFIX}:${IMG_TAG}"
224-
@echo "NOTE: Install crds.yaml first, then install.yaml. Deployment runs on any available node by default."
224+
# Generate full installation (with features: Metrics, TLS, webhook) manifest
225+
$(MAKE) build-manifests-temp ENABLE_METRICS=true ENABLE_TLS=true ENABLE_WEBHOOK=true
226+
cp $(BUILD_DIR)/manifests.yaml dist/install-full.yaml
227+
@echo "Generated dist/install-full.yaml (Features: Metrics, TLS, Webhook - Requires cert-manager)"
228+
@echo "Check https://node-readiness-controller.sigs.k8s.io/user-guide/installation.html for installation instructions."
225229

226230
## --------------------------------------
227231
## Deployment

0 commit comments

Comments
 (0)