Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: [experimental] create TLS certificate via code & save it in a PersistentVolume #421

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
fix: update CA organization
  • Loading branch information
royhadad committed Jul 16, 2023
commit cdd567c3d6dfdf2632729dfa51f9d808db1298bc
2 changes: 1 addition & 1 deletion pkg/cert-manager/cert-manager.go
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ func generateCertificates() {
ca := &x509.Certificate{
SerialNumber: big.NewInt(2020),
Subject: pkix.Name{
Organization: []string{"velotio.com"},
Organization: []string{"/CN=Datree Admission Controller Webhook CA"},
},
NotBefore: time.Now(),
NotAfter: time.Now().AddDate(1, 0, 0),