Skip to content

Commit a169a29

Browse files
Jonathan S. Katzjkatz
authored andcommitted
Remove ContainerResources struct from the Operator configuration
This was no longer used.
1 parent f8ba188 commit a169a29

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

config/pgoconfig.go

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -227,29 +227,21 @@ type StorageStruct struct {
227227
MatchLabels string
228228
}
229229

230-
type ContainerResourcesStruct struct {
231-
RequestsMemory string
232-
RequestsCPU string
233-
LimitsMemory string
234-
LimitsCPU string
235-
}
236-
237230
type PgoStruct struct {
238231
Audit bool
239232
PGOImagePrefix string
240233
PGOImageTag string
241234
}
242235

243236
type PgoConfig struct {
244-
BasicAuth string
245-
Cluster ClusterStruct
246-
Pgo PgoStruct
247-
ContainerResources map[string]ContainerResourcesStruct
248-
PrimaryStorage string
249-
BackupStorage string
250-
ReplicaStorage string
251-
BackrestStorage string
252-
Storage map[string]StorageStruct
237+
BasicAuth string
238+
Cluster ClusterStruct
239+
Pgo PgoStruct
240+
PrimaryStorage string
241+
BackupStorage string
242+
ReplicaStorage string
243+
BackrestStorage string
244+
Storage map[string]StorageStruct
253245
}
254246

255247
const DEFAULT_SERVICE_TYPE = "ClusterIP"

0 commit comments

Comments
 (0)