Some modifications for k8s integration and better building

This commit is contained in:
plm
2025-01-10 16:42:52 +01:00
parent 4b8f129564
commit e4dd6d49d4
6 changed files with 64 additions and 93 deletions

View File

@@ -4,6 +4,11 @@
# Must specify a JSON with a following structure:
ENDPOINT="http://localhost:8087"
if [[ $K8S_ENVIRONMENT ]]; then
ENDPOINT="http://beta.opencloud.com/catalog"
fi
if [[ $DOCKER_ENVIRONMENT ]]; then
ENDPOINT="http://oc-catalog:8087"
fi