@@ -14,8 +14,6 @@ OS_TYPE ?= $(shell uname)
14
14
# Module Registry used for pushing the image
15
15
MODULE_REGISTRY_PORT ?= 8888
16
16
MODULE_REGISTRY ?= op-kcp-registry.localhost:$(MODULE_REGISTRY_PORT ) /unsigned
17
- # Desired Channel of the Generated Module Template
18
- MODULE_CHANNEL ?= fast
19
17
20
18
# Image URL to use all building/pushing image targets
21
19
IMG_REGISTRY_PORT ?= $(MODULE_REGISTRY_PORT )
@@ -190,23 +188,6 @@ module-image: docker-build docker-push ## Build the Module Image and push it to
190
188
echo " built and pushed module image $( IMG) "
191
189
192
190
DEFAULT_CR ?= $(shell pwd) /config/samples/default.yaml
193
- .PHONY : module-build
194
- module-build : kyma render-manifest module-config-template configure-git-origin # # Build the Module and push it to a registry defined in MODULE_REGISTRY
195
- # ################################################################
196
- # # Building module with:
197
- # - image: ${IMG}
198
- # - channel: ${MODULE_CHANNEL}
199
- # - name: kyma-project.io/module/$(MODULE_NAME)
200
- # - version: $(MODULE_VERSION)
201
- @$(KYMA ) alpha create module --path . --output=module-template.yaml --module-config-file=module-config.yaml $(MODULE_CREATION_FLAGS )
202
-
203
- .PHONY : module-config-template
204
- module-config-template :
205
- @cat module-config-template.yaml \
206
- | sed -e ' s/{{.Channel}}/${MODULE_CHANNEL}/g' \
207
- -e ' s/{{.Version}}/$(MODULE_VERSION)/g' \
208
- -e ' s/{{.Name}}/kyma-project.io\/module\/$(MODULE_NAME)/g' \
209
- > module-config.yaml
210
191
211
192
.PHONY : configure-git-origin
212
193
configure-git-origin :
0 commit comments