@@ -41,8 +41,10 @@ type PatroniServicesSpec struct {
4141 QueryExporter QueryExporter `json:"queryExporter,omitempty"`
4242 Tls * Tls `json:"tls,omitempty"`
4343 PgBackRest * PgBackRest `json:"pgBackRest,omitempty"`
44+ PgBackRestExporter * PgBackRestExporter `json:"pgBackRestExporter,omitempty"`
4445 InstallationTimestamp string `json:"installationTimestamp,omitempty"`
4546 PrivateRegistry PrivateRegistry `json:"privateRegistry,omitempty"`
47+ ImagePullPolicy v1.PullPolicy `json:"imagePullPolicy,omitempty"`
4648}
4749
4850type PrivateRegistry struct {
@@ -232,16 +234,20 @@ type Tls struct {
232234}
233235
234236type PgBackRest struct {
235- DockerImage string `json:"dockerImage,omitempty"`
236- RepoType string `json:"repoType,omitempty"`
237- RepoPath string `json:"repoPath,omitempty"`
238- DiffSchedule string `json:"diffSchedule,omitempty"`
239- IncrSchedule string `json:"incrSchedule,omitempty"`
240- S3 S3 `json:"s3,omitempty"`
241- Rwx * types.Storage `json:"rwx,omitempty"`
242- BackupFromStandby bool `json:"backupFromStandby,omitempty"`
237+ DiffSchedule string `json:"diffSchedule,omitempty"`
238+ IncrSchedule string `json:"incrSchedule,omitempty"`
239+ BackupFromStandby bool `json:"backupFromStandby,omitempty"`
243240}
244241
242+ type PgBackRestExporter struct {
243+ Install bool `json:"install,omitempty"`
244+ Image string `json:"image,omitempty"`
245+ Resources v1.ResourceRequirements `json:"resources,omitempty"`
246+ SecurityContext * v1.PodSecurityContext `json:"securityContext,omitempty"`
247+ Affinity v1.Affinity `json:"affinity,omitempty"`
248+ PodLabels map [string ]string `json:"podLabels,omitempty"`
249+ Env map [string ]string `json:"env,omitempty"`
250+ }
245251type S3 struct {
246252 Bucket string `json:"bucket,omitempty"`
247253 Endpoint string `json:"endpoint,omitempty"`
0 commit comments