Adding json to get node name

This commit is contained in:
Simon Belmas
2024-06-27 01:21:19 +02:00
parent 0670f72d06
commit c3d8cf38b4
2 changed files with 5 additions and 0 deletions

View File

@@ -7,4 +7,7 @@ Feel free to customize *replicas* and *content-git-repo* in *config* folder.
Git will be displayed in an iframe with node name on top.
Nnode name is displayed on the top of the page and also in kube-node.json
Thanks to https://github.com/amoldalwai/RoadFighter.git for having something fun to display.

View File

@@ -33,3 +33,5 @@ cat <<EOF >index.html
</html>
EOF
echo '{"node": "'${KUBE_NODE_NAME}'"}' > kube-node.json