Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
make the webhook expire days longer (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
kinderyj authored Nov 26, 2020
1 parent 4f421e7 commit 55bc0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm-chart/flink-operator/templates/generate-cert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ data:
openssl req -nodes -new -x509 -keyout ca.key -out ca.crt -subj "/CN=Admission Controller Webhook CA"
openssl genrsa -out ${tmpdir}/server-key.pem 2048
openssl req -new -key ${tmpdir}/server-key.pem -subj "/CN=${service}.${namespace}.svc" -config ${tmpdir}/csr.conf \
| openssl x509 -req -CA ca.crt -CAkey ca.key -CAcreateserial -out ${tmpdir}/server-cert.pem
| openssl x509 -days 3650 -req -CA ca.crt -CAkey ca.key -CAcreateserial -out ${tmpdir}/server-cert.pem
serverCert="$(openssl base64 -A -in ${tmpdir}/server-cert.pem)"
if [[ -z ${serverCert} ]]; then
echo "ERROR: The signed certificate did not appear." >&2
Expand Down

0 comments on commit 55bc0de

Please sign in to comment.