Skip to content

Commit

Permalink
deployments: make script prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
burgerdev committed Feb 22, 2024
1 parent 6a83a5a commit b9bea16
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion deployments/openssl/openssl-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b9bea16

Please sign in to comment.