Skip to content

Commit

Permalink
Merge pull request #74 from sp98/extend-cert-expiry
Browse files Browse the repository at this point in the history
refactor: Update cert expiry to 10 years
  • Loading branch information
nbalacha authored Jan 17, 2022
2 parents a5ee8b9 + 85c42ec commit b2aa645
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 b2aa645

Please sign in to comment.