Skip to content

Commit 7e2044b

Browse files
committed
FPGA kustomization: fix signing certificate
The certificate got signed for wrong service name (fallback default "webhook-svc") due to incorrectly passed parameter. This showed as "http: TLS handshake error from ... tls: bad certificate" error in webhook pod logs. Fixes: #303 Signed-off-by: Antti Kervinen <[email protected]>
1 parent 50b4af0 commit 7e2044b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/fpga-plugin-prepare-for-kustomization.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ kustomize_secret_dir="${srcroot}/deployments/fpga_admissionwebhook/base/${secret
1919
mkdir -p "${kustomize_secret_dir}"
2020

2121
# Create signed cert files to kustomize_secret_dir
22-
${script_dir}/webhook-create-signed-cert.sh --output-dir ${kustomize_secret_dir} --service=$service && {
22+
${script_dir}/webhook-create-signed-cert.sh --output-dir ${kustomize_secret_dir} --service $service && {
2323
echo ""
2424
echo created for kustomization:
2525
echo - "${kustomize_secret_dir}"

0 commit comments

Comments
 (0)