From 4f7070b0a2fb6cc7b663ba613ca26b201368eb26 Mon Sep 17 00:00:00 2001
From: Olaf Bohlen <olaf.bohlen@niit.com>
Date: Wed, 06 Jul 2022 11:41:52 +0200
Subject: [PATCH] foo

---
 index.php |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/index.php b/index.php
index 063b957..21e5ec8 100644
--- a/index.php
+++ b/index.php
@@ -4,9 +4,26 @@
  </head>
  <body>
    <?php 
-    echo '<p>hello world from ' .$_ENV["HOSTNAME"] . '</p>';
+    echo '<p>HELLO world from ' .$_ENV["HOSTNAME"] . '</p>';
+    echo '<p>the current php version is ' . phpversion() . '</p>';
     echo '<p>TEXT = ' .$_ENV["TEXT"] . '</p>';
     echo '<p>PASSWORD = ' .$_ENV["PASSWORD"] . '</p>';
+    echo '<p>';
+    if (file_exists('/secretstore/filesecret')) {
+      echo "secret file contains: ";
+      echo nl2br(file_get_contents( "/secretstore/filesecret" )); 
+    } else {
+      echo "no additional secrets found!";
+    }
+    echo '</p>';
+    echo '<p>';
+    if (file_exists('/pvcmount/pfile')) {
+      echo "file contains: ";
+      echo nl2br(file_get_contents( "/pvcmount/pfile" )); 
+    } else {
+      echo "no other file found!";
+    }
+    echo '</p>';
 ?>
  </body>
 </html>

--
Gitblit v1.9.3