Skip to content

Commit

Permalink
Allow mongodb host config (#52)
Browse files Browse the repository at this point in the history
* Fix bug

* Add dependdency
  • Loading branch information
lvarin authored Jul 16, 2024
1 parent 0a4c7ff commit fa8a1b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
connexion>=2.11.2,<3.0.0
foca==0.12.1
yq==3.2.3
1 change: 1 addition & 0 deletions update-config-map.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ echo "Current Kubernetes namespace: $NAMESPACE"; echo
echo " * Getting current default configuration"

APP_CONFIG=$(yq --arg HOST_NAME "$HOST_NAME" \
--arg MONGO_HOST "$MONGO_HOST" \
'.endpoints.service.url_prefix = "https" |
.endpoints.service.external_host = $HOST_NAME |
.endpoints.service.external_port = 443 |
Expand Down

0 comments on commit fa8a1b0

Please sign in to comment.