wazuh / wazuh-kubernetes

Wazuh - Wazuh Kubernetes
https://wazuh.com/
GNU General Public License v2.0
237 stars 147 forks source link

fix: allow spaces in current working directory on certificate generation #658

Open Nicceboy opened 2 months ago

Nicceboy commented 2 months ago

If the current working directory includes spaces (even if it should not...), the self-signed cert generation script will fail.

Added quotes for the variable use and also set -e to fail script fast on error.