Skip to content

Commit

Permalink
Fix for k3d logs (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
kse3hi authored Nov 14, 2022
1 parent d081533 commit 63c6db6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/scripts/configure-proxies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ "$HTTP_PROXY" != "" ]; then
CONFIGURE_GIT="true"
FTP_PROXY=$HTTP_PROXY
ALL_PROXY=$HTTP_PROXY
NO_PROXY="localhost,127.0.0.1,0.0.0.0,10.0.0.0/8,192.168.122.0/24,cattle-system.svc,.svc,.cluster.local"
NO_PROXY="localhost,127.0.0.1,0.0.0.0,10.0.0.0/8,192.168.122.0/24,172.0.0.0/8,cattle-system.svc,.svc,.cluster.local"
fi

echo "Use proxies: $USE_PROXIES"
Expand Down
4 changes: 2 additions & 2 deletions .vscode/scripts/runtime/k3d/configure_controlplane.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ then
-p "31883:31883" \
-p "30555:30555" \
-p "30051:30051" \
--volume $ROOT_DIRECTORY/deploy/runtime/k3d/volume:/mnt/data@server:0 \
-e "HTTP_PROXY=$HTTP_PROXY@server:0" \
-e "HTTPS_PROXY=$HTTPS_PROXY@server:0" \
--volume $ROOT_DIRECTORY/deploy/runtime/k3d/volume:/mnt/data@server:0 \
-e "NO_PROXY=localhost@server:0"
-e "NO_PROXY=$NO_PROXY@server:0"
else
echo "Creating cluster without proxy configuration"
k3d cluster create cluster \
Expand Down
10 changes: 9 additions & 1 deletion .vscode/scripts/runtime/k3d/deploy_runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,15 @@ then
done

# We set the tag to the version from the variables above in the script. This overwrites the default values in the values-file.
helm install vehicleappruntime $ROOT_DIRECTORY/deploy/runtime/k3d/helm --values $ROOT_DIRECTORY/deploy/runtime/k3d/helm/values.yaml --set imageSeatService.tag=$SEATSERVICE_TAG --set imageVehicleDataBroker.tag=$DATABROKER_TAG --set imageFeederCan.tag=$FEEDERCAN_TAG --wait --timeout 60s --debug
helm install vehicleappruntime \
$ROOT_DIRECTORY/deploy/runtime/k3d/helm \
--values $ROOT_DIRECTORY/deploy/runtime/k3d/helm/values.yaml \
--set imageSeatService.tag=$SEATSERVICE_TAG \
--set imageVehicleDataBroker.tag=$DATABROKER_TAG \
--set imageFeederCan.tag=$FEEDERCAN_TAG \
--wait \
--timeout 60s \
--debug

else
echo "Runtime already deployed. To redeploy the components, run the task 'K3D - Uninstall runtime' first."
Expand Down

0 comments on commit 63c6db6

Please sign in to comment.