[bitnami/mongodb] Fixed hidden node headless service name in TLS (#6281)

Co-authored-by: deveshkumar <devesh.kumar@widas.de>
This commit is contained in:
Devesh Kumar
2021-05-05 13:42:45 +02:00
committed by GitHub
parent 51164b2b02
commit 8ab1a15c83

View File

@@ -119,7 +119,7 @@ spec:
- |
/bin/bash <<'EOF'
my_hostname=$(hostname)
svc=$(echo -n "$my_hostname" | sed s/-[0-9]*$//)-hidden-headless
svc=$(echo -n "$my_hostname" | sed s/-[0-9]*$//)-headless
cp /certs/CAs/* /certs/
cat >/certs/openssl.cnf <<EOL
[req]