Skip to content

Commit ad85ebb

Browse files
wip
1 parent 4826870 commit ad85ebb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/tests/deploy_moduletemplate.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ yq eval '.bdba += ["europe-docker.pkg.dev/kyma-project/prod/template-operator:'"
4242
cat module-config-for-e2e.yaml
4343
modulectl create --config-file ./module-config-for-e2e.yaml --registry http://localhost:5111 --insecure
4444

45+
# Configure OCM to use insecure HTTP for local registry
46+
OCM_CONFIG="$(dirname "$0")/ocm-config-local-registry.yaml"
47+
REGISTRY_URL="localhost:5111"
48+
49+
echo "[DEBUG] ComponentDescriptor in registry:"
50+
echo ocm --config "${OCM_CONFIG}" get componentversion "http://${REGISTRY_URL}//kyma-project.io/module/template-operator:${RELEASE_VERSION}" -o yaml
51+
ocm --config "${OCM_CONFIG}" get componentversion "http://${REGISTRY_URL}//kyma-project.io/module/template-operator:${RELEASE_VERSION}" -o yaml
52+
4553
cat template.yaml
4654
echo "ModuleTemplate created successfully"
4755

0 commit comments

Comments
 (0)