@@ -177,8 +177,12 @@ type ExternalClickhouseSpec struct {
177177 Database string `json:"database,omitempty"`
178178 // Password for accessing the external ClickHouse (plain-text, not recommended).
179179 Password string `json:"password,omitempty"`
180- // Secret containing password for accessing the external ClickHouse.
180+ // Secret containing a password for accessing the external ClickHouse.
181181 PasswordSecret * corev1.SecretKeySelector `json:"passwordSecret,omitempty"`
182+ // Whether to enable TLS for the connection to ClickHouse.
183+ TLSEnabled bool `json:"tlsEnabled,omitempty"`
184+ // Whether to skip verification of the ClickHouse server's TLS certificate.
185+ TLSSkipVerify bool `json:"tlsSkipVerify,omitempty"`
182186}
183187
184188type PostgresSpec struct {
@@ -192,7 +196,7 @@ type PostgresSpec struct {
192196 Database string `json:"database,omitempty"`
193197 // Password for accessing postgres (plain-text, not recommended).
194198 Password string `json:"password,omitempty"`
195- // Secret containing password for accessing postgres.
199+ // Secret containing a password for accessing postgres.
196200 PasswordSecret * corev1.SecretKeySelector `json:"passwordSecret,omitempty"`
197201 // Extra parameters, e.g., sslmode and connect_timeout.
198202 Params map [string ]string `json:"params,omitempty"`
@@ -234,7 +238,7 @@ type TLSSpec struct {
234238 // Secret containing TLS certificate.
235239 // +kubebuilder:validation:Required
236240 CertSecret * corev1.SecretKeySelector `json:"certSecret,omitempty"`
237- // Secret containing TLS private key.
241+ // Secret containing a TLS private key.
238242 // +kubebuilder:validation:Required
239243 KeySecret * corev1.SecretKeySelector `json:"keySecret,omitempty"`
240244}
0 commit comments