We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ec8482 commit 3dacf55Copy full SHA for 3dacf55
tools/install.sh
@@ -213,7 +213,7 @@ function get_cert_pass() {
213
cert_pass=$(kubectl exec -i -n "$NAMESPACE" "$POD_NAME" -- bash -c \
214
'source /opt/huawei/fce/runtime/common/kmc_encrypt_decrypt_tool.sh &&
215
kmc_decrypt $(grep "^nginx=" /opt/huawei/fce/runtime/security/priv/nginx.conf | cut -d "=" -f 2-) nginx')
216
- sed -i "s/CERT_PASS:.*/CERT_PASS: $cert_pass/" "$VALUES_FILE"
+ sed -i "s/CERT_PASS:.*/CERT_PASS: \"$cert_pass\"/" "$VALUES_FILE"
217
fi
218
}
219
0 commit comments