Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Commit 55bc0de

Browse files
authored
make the webhook expire days longer (#374)
1 parent 4f421e7 commit 55bc0de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helm-chart/flink-operator/templates/generate-cert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ data:
3535
openssl req -nodes -new -x509 -keyout ca.key -out ca.crt -subj "/CN=Admission Controller Webhook CA"
3636
openssl genrsa -out ${tmpdir}/server-key.pem 2048
3737
openssl req -new -key ${tmpdir}/server-key.pem -subj "/CN=${service}.${namespace}.svc" -config ${tmpdir}/csr.conf \
38-
| openssl x509 -req -CA ca.crt -CAkey ca.key -CAcreateserial -out ${tmpdir}/server-cert.pem
38+
| openssl x509 -days 3650 -req -CA ca.crt -CAkey ca.key -CAcreateserial -out ${tmpdir}/server-cert.pem
3939
serverCert="$(openssl base64 -A -in ${tmpdir}/server-cert.pem)"
4040
if [[ -z ${serverCert} ]]; then
4141
echo "ERROR: The signed certificate did not appear." >&2

0 commit comments

Comments
 (0)