From b9bea16b1c56bee206ca79790d1a9449d3300d88 Mon Sep 17 00:00:00 2001 From: Markus Rudy Date: Thu, 22 Feb 2024 09:46:13 +0100 Subject: [PATCH] deployments: make script prettier --- deployments/openssl/openssl-frontend.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/deployments/openssl/openssl-frontend.yml b/deployments/openssl/openssl-frontend.yml index 2678241f7f..222f0ea33b 100644 --- a/deployments/openssl/openssl-frontend.yml +++ b/deployments/openssl/openssl-frontend.yml @@ -34,7 +34,14 @@ spec: command: - /bin/bash - "-c" - - "echo Workload started\nopenssl s_server -www -port 443 -cert /tls-config/certChain.pem -key /tls-config/key.pem -cert_chain /tls-config/certChain.pem &\nwhile true; do \n echo \"THIS IS A TEST MESSAGE\" | openssl s_client -connect openssl-backend:443 -verify_return_error -CAfile /tls-config/MeshCACert.pem -cert /tls-config/certChain.pem -key /tls-config/key.pem\n sleep 10\ndone\n" + - | + echo Workload started + openssl s_server -www -port 443 -cert /tls-config/certChain.pem -key /tls-config/key.pem -cert_chain /tls-config/certChain.pem & + while true; do + echo \"THIS IS A TEST MESSAGE\" | + openssl s_client -connect openssl-backend:443 -verify_return_error -CAfile /tls-config/MeshCACert.pem -cert /tls-config/certChain.pem -key /tls-config/key.pem + sleep 10 + done volumeMounts: - name: tls-certs mountPath: /tls-config