Skip to content

Commit e7caff4

Browse files
committed
Updates the dev-manifests target
Includes copying the metadata.yml over to the overrides directory when running this target. Updates the documentation to include dev semver if not present in the file. Signed-off-by: Sagar Muchhal <[email protected]>
1 parent edf838c commit e7caff4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ release-overrides:
257257
.PHONY: dev-manifests
258258
dev-manifests:
259259
$(MAKE) manifests STAGE=dev MANIFEST_DIR=$(OVERRIDES_DIR) PULL_POLICY=Always IMAGE=$(DEV_CONTROLLER_IMG):$(DEV_TAG)
260+
cp metadata.yaml $(OVERRIDES_DIR)/metadata.yaml
260261

261262
.PHONY: manifests
262263
manifests: $(STAGE)-version-check $(STAGE)-flavors $(MANIFEST_DIR) $(BUILD_DIR) $(KUSTOMIZE)

docs/development.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ Running the following generates these overrides for you:
8484
make dev-manifests
8585
```
8686

87+
For development purposes, if you are using a `major.minor.x` version (see env variable VERSION) which is not present in the `metadata.yml`, include this version entry along with the API contract in the file.
88+
8789
### Using dev manifests
8890

8991
After publishing your test image and generating the manifests, you can use

0 commit comments

Comments
 (0)