diff --git a/Makefile b/Makefile index 02fd53724be7..bc6966de61be 100644 --- a/Makefile +++ b/Makefile @@ -107,7 +107,7 @@ clean: ## Remove all generated files docker-build: generate fmt vet manifests ## Build the docker image docker build . -t ${IMG} @echo "updating kustomize image patch file for manager resource" - sed -i'' -e 's@image: .*@image: '"${IMG}"'@' ./config/default/manager_image_patch.yaml + sed -i '' -e 's@image: .*@image: '"${IMG}"'@' ./config/default/manager_image_patch.yaml .PHONY: docker-push docker-push: ## Push the docker image diff --git a/config/default/manager_image_patch.yaml-e b/config/default/manager_image_patch.yaml-e deleted file mode 100644 index 3996ddede7a3..000000000000 --- a/config/default/manager_image_patch.yaml-e +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: controller-manager - namespace: system -spec: - template: - spec: - containers: - - image: gcr.io/k8s-cluster-api/cluster-api-controller:latest - name: manager