Skip to content

Commit

Permalink
feat: make cert manager certificate's commonName optional #major (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
rasheedamir authored Jan 6, 2025
2 parents f08fb9e + f01a3ed commit a38d694
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ helm delete --namespace test my-application
| certificate.duration | string | `"8760h0m0s"` | The requested "duration" (i.e. lifetime) of the Certificate. |
| certificate.renewBefore | string | `"720h0m0s"` | The amount of time before the currently issued certificate's notAfter time that cert-manager will begin to attempt to renew the certificate. |
| certificate.subject | tpl/object | `nil` | Full X509 name specification for certificate. |
| certificate.commonName | string | `"admin-app"` | Common name as specified on the DER encoded CSR. |
| certificate.commonName | tpl/string | `nil` | Common name as specified on the DER encoded CSR. This field is not recommended in cases when this certificate is an end-entity certificate. More information can be found in the [cert-manager documentation](https://cert-manager.io/docs/usage/certificate/#:~:text=%23%20Avoid%20using%20commonName,%3A%20example.com). |
| certificate.keyAlgorithm | string | `"rsa"` | Private key algorithm of the corresponding private key for this certificate. |
| certificate.keyEncoding | string | `"pkcs1"` | Private key cryptography standards (PKCS) for this certificate's private key to be encoded in. |
| certificate.keySize | int | `2048` | Key bit size of the corresponding private key for this certificate. |
Expand Down
5 changes: 3 additions & 2 deletions application/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -907,9 +907,10 @@ certificate:
# - Stockholm
# provinces:
# - Stockholm
# -- (string) Common name as specified on the DER encoded CSR.
# -- (tpl/string) Common name as specified on the DER encoded CSR. This field is not recommended in cases when this certificate is an end-entity certificate. More information can be found in the [cert-manager documentation](https://cert-manager.io/docs/usage/certificate/#:~:text=%23%20Avoid%20using%20commonName,%3A%20example.com).
# @section -- cert-manager Certificate Parameters
commonName: admin-app
commonName:
# commonName: admin-app
# -- (string) Private key algorithm of the corresponding private key for this certificate.
# @section -- cert-manager Certificate Parameters
keyAlgorithm: rsa
Expand Down

0 comments on commit a38d694

Please sign in to comment.