This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
commit b3ce9d81811845b7f779d58246a0ffdbd12b1a6c Author: Marat Gubaidullin <marat.gubaidul...@gmail.com> AuthorDate: Thu Dec 15 15:19:35 2022 -0500 Spring-boot stuff for #561 --- .../src/main/resources/spring-boot-builder-script-kubernetes.sh | 2 +- .../src/main/resources/spring-boot-builder-script-openshift.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/karavan-operator/src/main/resources/spring-boot-builder-script-kubernetes.sh b/karavan-operator/src/main/resources/spring-boot-builder-script-kubernetes.sh index 8f0f17f..5643b34 100644 --- a/karavan-operator/src/main/resources/spring-boot-builder-script-kubernetes.sh +++ b/karavan-operator/src/main/resources/spring-boot-builder-script-kubernetes.sh @@ -24,4 +24,4 @@ export NAMESPACE=$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace) /opt/mvnd/bin/mvnd package k8s:build k8s:resource k8s:apply \ -Pkubernetes \ -Djkube.namespace=${NAMESPACE} \ - -Djkube.generator.name=image-registry.openshift-image-registry.svc:5000/${NAMESPACE}/$NAME:${DATE} \ \ No newline at end of file + -Djkube.generator.name=${IMAGE_REGISTRY}/${NAMESPACE}/$NAME:${DATE} \ \ No newline at end of file diff --git a/karavan-operator/src/main/resources/spring-boot-builder-script-openshift.sh b/karavan-operator/src/main/resources/spring-boot-builder-script-openshift.sh index 6330fd5..b2a9824 100644 --- a/karavan-operator/src/main/resources/spring-boot-builder-script-openshift.sh +++ b/karavan-operator/src/main/resources/spring-boot-builder-script-openshift.sh @@ -24,4 +24,4 @@ export NAMESPACE=$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace) /opt/mvnd/bin/mvnd package oc:build oc:resource oc:apply \ -Popenshift \ -Djkube.namespace=${NAMESPACE} \ - -Djkube.generator.name=image-registry.openshift-image-registry.svc:5000/${NAMESPACE}/$NAME:${DATE} \ + -Djkube.generator.name=${IMAGE_REGISTRY}/${NAMESPACE}/$NAME:${DATE} \