@@ -27,6 +27,10 @@ type TrillianSpec struct {
27
27
//+kubebuilder:validation:XValidation:rule=((!self.create && self.databaseSecretRef != null) || self.create),message=databaseSecretRef cannot be empty
28
28
//+kubebuilder:default:={create: true, pvc: {size: "5Gi", retain: true}}
29
29
Db TrillianDB `json:"database,omitempty"`
30
+ //+optional
31
+ TrillianServer TrillianServer `json:"server,omitempty"`
32
+ //+optional
33
+ TrillianSigner TrillianSigner `json:"signer,omitempty"`
30
34
// Enable Monitoring for Logsigner and Logserver
31
35
Monitoring MonitoringConfig `json:"monitoring,omitempty"`
32
36
}
@@ -49,6 +53,15 @@ type TrillianDB struct {
49
53
Pvc Pvc `json:"pvc,omitempty"`
50
54
}
51
55
56
+ type TrillianServer struct {
57
+ // Secret with TLS server certificate, private key and CA certificate
58
+ TLSCertificate TLSCert `json:"tls"`
59
+ }
60
+ type TrillianSigner struct {
61
+ // Secret with TLS server certificate, private key and CA certificate
62
+ TLSCertificate TLSCert `json:"tls"`
63
+ }
64
+
52
65
// TrillianStatus defines the observed state of Trillian
53
66
type TrillianStatus struct {
54
67
Db TrillianDB `json:"database,omitempty"`
0 commit comments