Skip to content

Commit

Permalink
refactor: update cert expiry to 10 years
Browse files Browse the repository at this point in the history
Current cert expiry is 356 days. This PR updates the expiry to 3560
days.

Signed-off-by: Santosh Pillai <[email protected]>
  • Loading branch information
sp98 committed Jan 17, 2022
1 parent 67ffe2f commit 85c42ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/topolvm_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func getInitContainer() *corev1.Container {
command := []string{
"sh",
"-c",
"openssl req -nodes -x509 -newkey rsa:4096 -subj '/DC=self_signed_certificate' -keyout /certs/tls.key -out /certs/tls.crt -days 365",
"openssl req -nodes -x509 -newkey rsa:4096 -subj '/DC=self_signed_certificate' -keyout /certs/tls.key -out /certs/tls.crt -days 3650",
}

volumeMounts := []corev1.VolumeMount{
Expand Down

0 comments on commit 85c42ec

Please sign in to comment.