Adding json to get node name
This commit is contained in:
@@ -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.
|
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.
|
Thanks to https://github.com/amoldalwai/RoadFighter.git for having something fun to display.
|
||||||
|
|||||||
@@ -33,3 +33,5 @@ cat <<EOF >index.html
|
|||||||
</html>
|
</html>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
echo '{"node": "'${KUBE_NODE_NAME}'"}' > kube-node.json
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user