Skip to content

Commit c0bdf36

Browse files
committed
feat: Improve private PKI and Let's Encrypt config
1 parent 9cd2bf2 commit c0bdf36

File tree

2 files changed

+18
-19
lines changed

2 files changed

+18
-19
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ Issues configuration.
143143

144144
| Config | Default | Description |
145145
|-------|-------------------|-------------|
146-
| `issuers.private.include` | `true` | Whether to include a ClusterIssuer for a private PKI. |
147-
| `issuers.letsencrypt.include` | `false` | Whether to include a ClusterIssuer for Let's Encrypt. |
148-
| `issuers.letsencrypt.production` | `false` | Whether to use Let's Encrypt staging (recommended for non-production environments) or production. |
149-
| `issuers.letsencrypt.email` | `""` | The email address that Let's Encrypt will use to send info on expiring certificates or other issues. |
146+
| `private_pki.include` | `true` | Whether to include a ClusterIssuer for a private PKI. |
147+
| `letsencrypt.include` | `false` | Whether to include a ClusterIssuer for Let's Encrypt. |
148+
| `letsencrypt.production` | `false` | Whether to use Let's Encrypt staging (recommended for non-production environments) or production. |
149+
| `letsencrypt.email` | `""` | The email address that Let's Encrypt will use to send info on expiring certificates or other issues. |
150150

151151
</details>
152152

package/config/values-schema.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,17 @@ leader_election:
5656
#@schema/validation min_len=1
5757
namespace: kube-system
5858

59-
#@schema/desc "Issuers configuration"
60-
issuers:
61-
#@schema/desc "Settings for default private PKI"
62-
private:
63-
#@schema/desc "Whether to include a ClusterIssuer for a private PKI."
64-
include: true
65-
#@schema/desc "Settings for Let's Encrypt."
66-
letsencrypt:
67-
#@schema/desc "Whether to include a ClusterIssuer for Let's Encrypt."
68-
include: false
69-
#@schema/desc "Whether to use Let's Encrypt staging (recommended for non-production environments) or production."
70-
production: false
71-
#@schema/desc "The email address that Let's Encrypt will use to send info on expiring certificates or other issues."
72-
#@schema/validation min_len=5, when=lambda _, ctx: ctx.parent["include"]
73-
email: ""
59+
#@schema/desc "Settings for the built-in, private PKI"
60+
private_pki:
61+
#@schema/desc "Whether to include a ClusterIssuer for a private PKI."
62+
include: true
63+
64+
#@schema/desc "Settings for Let's Encrypt."
65+
letsencrypt:
66+
#@schema/desc "Whether to include a ClusterIssuer for Let's Encrypt."
67+
include: false
68+
#@schema/desc "Whether to use Let's Encrypt staging (recommended for non-production environments) or production."
69+
production: false
70+
#@schema/desc "The email address that Let's Encrypt will use to send info on expiring certificates or other issues."
71+
#@schema/validation min_len=5, when=lambda _, ctx: ctx.parent["include"]
72+
email: ""

0 commit comments

Comments
 (0)