@@ -170,16 +170,32 @@ pub struct ValidatedClusterConfig {
170170 pub clustering_backend : v1alpha1:: NifiClusteringBackend ,
171171 /// The host-header-check config, resolved into the proxy hosts allow-list at build time.
172172 pub host_header_check : HostHeaderCheckConfig ,
173- /// The validated sensitive properties algorithm.
174- pub sensitive_properties_algorithm : NifiSensitiveKeyAlgorithm ,
175- /// The name of the Secret holding the sensitive-properties key, mounted into the NiFi Pods.
176- pub sensitive_key_secret : SecretName ,
173+ /// The resolved sensitive-properties configuration.
174+ pub sensitive_properties : ValidatedSensitiveProperties ,
177175 /// The SecretClass providing the server TLS certificates.
178176 pub server_tls_secret_class : SecretClassName ,
179177 /// User-provided extra volumes, mounted into every container under `/stackable/userdata/`.
180178 pub extra_volumes : Vec < Volume > ,
181- /// Pod overrides for the (NiFi 1.x-only) create-reporting-task Job.
182- pub reporting_task_pod_overrides : PodTemplateSpec ,
179+ /// The resolved (NiFi 1.x-only) create-reporting-task Job configuration.
180+ pub reporting_task : ValidatedReportingTask ,
181+ }
182+
183+ /// The resolved `spec.clusterConfig.sensitiveProperties`.
184+ pub struct ValidatedSensitiveProperties {
185+ /// The validated sensitive-properties encryption algorithm.
186+ pub algorithm : NifiSensitiveKeyAlgorithm ,
187+ /// The name of the Secret holding the sensitive-properties key, mounted into the NiFi Pods.
188+ pub key_secret : SecretName ,
189+ /// Whether to generate the key Secret if it is missing.
190+ pub auto_generate : bool ,
191+ }
192+
193+ /// The resolved `spec.clusterConfig.createReportingTaskJob` (NiFi 1.x only).
194+ pub struct ValidatedReportingTask {
195+ /// Whether the reporting-task Job should be created.
196+ pub enabled : bool ,
197+ /// Pod overrides for the reporting-task Job.
198+ pub pod_overrides : PodTemplateSpec ,
183199}
184200
185201/// Per-role configuration extracted during validation.
0 commit comments