From 13dc53688dcea6ce9bbfb2aa233bf7f3eafda020 Mon Sep 17 00:00:00 2001 From: Simon Belmas <22192134+simbelmas@users.noreply.github.com> Date: Thu, 27 Jun 2024 14:55:36 +0200 Subject: [PATCH] adding txt file to store node name --- README.md | 3 ++- config/init.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ee16639..3af3f58 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # html-kube-tester +## Workload Workload to test application behavior while making changes on infrastructure. Ingress fqdn has to be configured by either: @@ -11,6 +12,6 @@ Ingress fqdn has to be configured by either: Connntent git will be displayed in an iframe with node name on top. -Node name is displayed on the top of the page and also in kube-node.json +Node name is displayed on the top of the page and also in kube-node.json and on kube-node.txt Thanks to https://github.com/amoldalwai/RoadFighter.git for having something fun to display. diff --git a/config/init.sh b/config/init.sh index 861d81c..a74c076 100644 --- a/config/init.sh +++ b/config/init.sh @@ -34,4 +34,4 @@ cat <index.html EOF echo '{"node": "'${KUBE_NODE_NAME}'"}' > kube-node.json - +echo -n ${KUBE_NODE_NAME} > kube-node.txt