File tree Expand file tree Collapse file tree 8 files changed +16
-8
lines changed
component-config-tutorial/testdata/project
cronjob-tutorial/testdata/project
pkg/plugins/golang/v4/scaffolds/internal/templates
project-v4-multigroup-with-deploy-image
project-v4-with-deploy-image Expand file tree Collapse file tree 8 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -118,10 +118,11 @@ docker-buildx: ## Build and push docker image for the manager for cross-platform
118
118
.PHONY : build-installer
119
119
build-installer : manifests generate kustomize # # Generate a consolidated YAML with CRDs and deployment.
120
120
mkdir -p dist
121
+ echo " ---" > dist/install.yaml # Clean previous content
121
122
@if [ -d " config/crd" ]; then \
122
123
$(KUSTOMIZE ) build config/crd > dist/install.yaml; \
124
+ echo " ---" >> dist/install.yaml; \
123
125
fi
124
- echo " ---" >> dist/install.yaml # Add a document separator before appending
125
126
cd config/manager && $(KUSTOMIZE ) edit set image controller=${IMG}
126
127
$(KUSTOMIZE ) build config/default >> dist/install.yaml
127
128
Original file line number Diff line number Diff line change @@ -118,10 +118,11 @@ docker-buildx: ## Build and push docker image for the manager for cross-platform
118
118
.PHONY : build-installer
119
119
build-installer : manifests generate kustomize # # Generate a consolidated YAML with CRDs and deployment.
120
120
mkdir -p dist
121
+ echo " ---" > dist/install.yaml # Clean previous content
121
122
@if [ -d " config/crd" ]; then \
122
123
$(KUSTOMIZE ) build config/crd > dist/install.yaml; \
124
+ echo " ---" >> dist/install.yaml; \
123
125
fi
124
- echo " ---" >> dist/install.yaml # Add a document separator before appending
125
126
cd config/manager && $(KUSTOMIZE ) edit set image controller=${IMG}
126
127
$(KUSTOMIZE ) build config/default >> dist/install.yaml
127
128
Original file line number Diff line number Diff line change @@ -192,10 +192,11 @@ docker-buildx: ## Build and push docker image for the manager for cross-platform
192
192
.PHONY: build-installer
193
193
build-installer: manifests generate kustomize ## Generate a consolidated YAML with CRDs and deployment.
194
194
mkdir -p dist
195
+ echo "---" > dist/install.yaml # Clean previous content
195
196
@if [ -d "config/crd" ]; then \
196
197
$(KUSTOMIZE) build config/crd > dist/install.yaml; \
198
+ echo "---" >> dist/install.yaml; \
197
199
fi
198
- echo "---" >> dist/install.yaml # Add a document separator before appending
199
200
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
200
201
$(KUSTOMIZE) build config/default >> dist/install.yaml
201
202
Original file line number Diff line number Diff line change @@ -118,10 +118,11 @@ docker-buildx: ## Build and push docker image for the manager for cross-platform
118
118
.PHONY : build-installer
119
119
build-installer : manifests generate kustomize # # Generate a consolidated YAML with CRDs and deployment.
120
120
mkdir -p dist
121
+ echo " ---" > dist/install.yaml # Clean previous content
121
122
@if [ -d " config/crd" ]; then \
122
123
$(KUSTOMIZE ) build config/crd > dist/install.yaml; \
124
+ echo " ---" >> dist/install.yaml; \
123
125
fi
124
- echo " ---" >> dist/install.yaml # Add a document separator before appending
125
126
cd config/manager && $(KUSTOMIZE ) edit set image controller=${IMG}
126
127
$(KUSTOMIZE ) build config/default >> dist/install.yaml
127
128
Original file line number Diff line number Diff line change @@ -118,10 +118,11 @@ docker-buildx: ## Build and push docker image for the manager for cross-platform
118
118
.PHONY : build-installer
119
119
build-installer : manifests generate kustomize # # Generate a consolidated YAML with CRDs and deployment.
120
120
mkdir -p dist
121
+ echo " ---" > dist/install.yaml # Clean previous content
121
122
@if [ -d " config/crd" ]; then \
122
123
$(KUSTOMIZE ) build config/crd > dist/install.yaml; \
124
+ echo " ---" >> dist/install.yaml; \
123
125
fi
124
- echo " ---" >> dist/install.yaml # Add a document separator before appending
125
126
cd config/manager && $(KUSTOMIZE ) edit set image controller=${IMG}
126
127
$(KUSTOMIZE ) build config/default >> dist/install.yaml
127
128
Original file line number Diff line number Diff line change @@ -118,10 +118,11 @@ docker-buildx: ## Build and push docker image for the manager for cross-platform
118
118
.PHONY : build-installer
119
119
build-installer : manifests generate kustomize # # Generate a consolidated YAML with CRDs and deployment.
120
120
mkdir -p dist
121
+ echo " ---" > dist/install.yaml # Clean previous content
121
122
@if [ -d " config/crd" ]; then \
122
123
$(KUSTOMIZE ) build config/crd > dist/install.yaml; \
124
+ echo " ---" >> dist/install.yaml; \
123
125
fi
124
- echo " ---" >> dist/install.yaml # Add a document separator before appending
125
126
cd config/manager && $(KUSTOMIZE ) edit set image controller=${IMG}
126
127
$(KUSTOMIZE ) build config/default >> dist/install.yaml
127
128
Original file line number Diff line number Diff line change @@ -118,10 +118,11 @@ docker-buildx: ## Build and push docker image for the manager for cross-platform
118
118
.PHONY : build-installer
119
119
build-installer : manifests generate kustomize # # Generate a consolidated YAML with CRDs and deployment.
120
120
mkdir -p dist
121
+ echo " ---" > dist/install.yaml # Clean previous content
121
122
@if [ -d " config/crd" ]; then \
122
123
$(KUSTOMIZE ) build config/crd > dist/install.yaml; \
124
+ echo " ---" >> dist/install.yaml; \
123
125
fi
124
- echo " ---" >> dist/install.yaml # Add a document separator before appending
125
126
cd config/manager && $(KUSTOMIZE ) edit set image controller=${IMG}
126
127
$(KUSTOMIZE ) build config/default >> dist/install.yaml
127
128
Original file line number Diff line number Diff line change @@ -118,10 +118,11 @@ docker-buildx: ## Build and push docker image for the manager for cross-platform
118
118
.PHONY : build-installer
119
119
build-installer : manifests generate kustomize # # Generate a consolidated YAML with CRDs and deployment.
120
120
mkdir -p dist
121
+ echo " ---" > dist/install.yaml # Clean previous content
121
122
@if [ -d " config/crd" ]; then \
122
123
$(KUSTOMIZE ) build config/crd > dist/install.yaml; \
124
+ echo " ---" >> dist/install.yaml; \
123
125
fi
124
- echo " ---" >> dist/install.yaml # Add a document separator before appending
125
126
cd config/manager && $(KUSTOMIZE ) edit set image controller=${IMG}
126
127
$(KUSTOMIZE ) build config/default >> dist/install.yaml
127
128
You can’t perform that action at this time.
0 commit comments