You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deploy/helm/secret-operator/crds/crds.yaml
+38
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,44 @@ spec:
42
42
43
43
A new certificate and key pair will be generated and signed for each Pod, keys or certificates are never reused.
44
44
properties:
45
+
additionalTrustRoots:
46
+
default: []
47
+
description: Additional trust roots which are added to the provided `ca.crt` file.
48
+
items:
49
+
oneOf:
50
+
- required:
51
+
- configMap
52
+
- required:
53
+
- secret
54
+
properties:
55
+
configMap:
56
+
description: 'Reference (name and namespace) to a Kubernetes ConfigMap object where additional certificates are stored. The extensions of the keys denote its contents: A key suffixed with `.crt` contains a stack of base64 encoded DER certificates, a key suffixed with `.der` contains a binary DER certificate.'
57
+
properties:
58
+
name:
59
+
description: Name of the ConfigMap being referred to.
60
+
type: string
61
+
namespace:
62
+
description: Namespace of the ConfigMap being referred to.
63
+
type: string
64
+
required:
65
+
- name
66
+
- namespace
67
+
type: object
68
+
secret:
69
+
description: 'Reference (name and namespace) to a Kubernetes Secret object where additional certificates are stored. The extensions of the keys denote its contents: A key suffixed with `.crt` contains a stack of base64 encoded DER certificates, a key suffixed with `.der` contains a binary DER certificate.'
70
+
properties:
71
+
name:
72
+
description: Name of the Secret being referred to.
73
+
type: string
74
+
namespace:
75
+
description: Namespace of the Secret being referred to.
76
+
type: string
77
+
required:
78
+
- name
79
+
- namespace
80
+
type: object
81
+
type: object
82
+
type: array
45
83
ca:
46
84
description: Configures the certificate authority used to issue Pod certificates.
Copy file name to clipboardExpand all lines: docs/modules/secret-operator/pages/secretclass.adoc
+10
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,10 @@ spec:
113
113
keyGeneration:
114
114
rsa:
115
115
length: 4096
116
+
additionalTrustRoots:
117
+
- secret:
118
+
name: trust-roots
119
+
namespace: default
116
120
maxCertificateLifetime: 15d # optional
117
121
----
118
122
@@ -125,6 +129,12 @@ spec:
125
129
`autoTls.ca.keyGeneration`:: Configures how keys should be generated.
126
130
`autoTls.ca.keyGeneration.rsa`:: Declares that keys should be generated using the RSA algorithm.
127
131
`autoTls.ca.keyGeneration.rsa.length`:: The amount of bits used for generating the RSA key pair. Currently, `2048`, `3072` and `4096` are supported. Defaults to `2048` bits.
132
+
`additionalTrustRoots`:: Configures additional trust roots which are added to the CA files or truststores in the provisioned volume mounts.
133
+
`additionalTrustRoots.secret`::
134
+
Reference (`name` and `namespace`) to a K8s `Secret` object where the trusted certificates are stored.
135
+
The extension of a key defines its content:
136
+
* `.crt` denotes a stack of PEM (base64-encoded DER) certificates.
137
+
* `.der` denotes a a binary DER certificates.
128
138
`autoTls.maxCertificateLifetime`:: Maximum lifetime the created certificates are allowed to have. In case consumers request a longer lifetime than allowed by this setting, the lifetime will be the minimum of both.
0 commit comments