Skip to content

Commit f97093b

Browse files
scotwellsclaude
andcommitted
Rename default overlay to single-cluster
"default" is a kubebuilder convention that doesn't say what it actually deploys. "single-cluster" describes the install topology and pairs naturally with the cross-cluster overlay planned as a follow-up. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2c10e3d commit f97093b

File tree

6 files changed

+3
-3
lines changed

6 files changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ docker-buildx: ## Build and push docker image for the manager for cross-platform
131131
build-installer: manifests generate kustomize ## Generate a consolidated YAML with CRDs and deployment.
132132
mkdir -p dist
133133
cd config/base/manager && $(KUSTOMIZE) edit set image controller=${IMG}
134-
$(KUSTOMIZE) build config/overlays/default > dist/install.yaml
134+
$(KUSTOMIZE) build config/overlays/single-cluster > dist/install.yaml
135135

136136
##@ Deployment
137137

@@ -150,11 +150,11 @@ uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified
150150
.PHONY: deploy
151151
deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
152152
cd config/base/manager && $(KUSTOMIZE) edit set image controller=${IMG}
153-
$(KUSTOMIZE) build config/overlays/default | $(KUBECTL) apply -f -
153+
$(KUSTOMIZE) build config/overlays/single-cluster | $(KUBECTL) apply -f -
154154

155155
.PHONY: undeploy
156156
undeploy: kustomize ## Undeploy controller from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion.
157-
$(KUSTOMIZE) build config/overlays/default | $(KUBECTL) delete --ignore-not-found=$(ignore-not-found) -f -
157+
$(KUSTOMIZE) build config/overlays/single-cluster | $(KUBECTL) delete --ignore-not-found=$(ignore-not-found) -f -
158158

159159
##@ Dependencies
160160

File renamed without changes.

config/overlays/default/manager_metrics_patch.yaml renamed to config/overlays/single-cluster/manager_metrics_patch.yaml

File renamed without changes.

config/overlays/default/manager_webhook_patch.yaml renamed to config/overlays/single-cluster/manager_webhook_patch.yaml

File renamed without changes.
File renamed without changes.

config/overlays/default/webhookcainjection_patch.yaml renamed to config/overlays/single-cluster/webhookcainjection_patch.yaml

File renamed without changes.

0 commit comments

Comments
 (0)