Skip to content

Commit

Permalink
Don't use sec-scanners-config to build moduletemplate on pre/post sub…
Browse files Browse the repository at this point in the history
…mit (#414)
  • Loading branch information
pPrecel authored Nov 14, 2023
1 parent 38ea0fa commit b722e56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions components/operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ ifndef MODULE_VERSION
include $(PROJECT_ROOT)/.version
endif

# Path to the sec-scanners-config file
SEC_SCANNERS_CONFIG ?= ""

# Module Name used for bundling the OCI Image and later on for referencing in the Kyma Modules
MODULE_NAME ?= serverless
# Module Registry used for pushing the image
Expand Down Expand Up @@ -132,6 +135,7 @@ module-image: docker-build docker-push ## Build the Module Image and push it to
module-build: ## Build the Module and push artifacts to the registry
module-build: kyma kustomize render-manifest module-config-template configure-git-origin
$(KYMA) alpha create module --path $(PROJECT_ROOT) --output=$(PROJECT_ROOT)/moduletemplate.yaml \
--sec-scanners-config="${SEC_SCANNERS_CONFIG}" \
--module-config-file=$(PROJECT_ROOT)/module-config.yaml $(MODULE_CREATION_FLAGS)

.PHONY: module-config-template
Expand Down
1 change: 0 additions & 1 deletion module-config-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ channel: {{.Channel}}
version: {{.Version}}
defaultCR: config/samples/default-serverless-cr.yaml
manifest: serverless-operator.yaml
security: sec-scanners-config.yaml
annotations:
"operator.kyma-project.io/doc-url": "https://kyma-project.io/#/serverless-manager/user/README"
moduleRepo: https://github.com/kyma-project/serverless-manager.git

0 comments on commit b722e56

Please sign in to comment.