Skip to content

Commit 2c08ff5

Browse files
benjaminjbcbandy
andauthored
Update pkg/apis/postgres-operator.crunchydata.com/v1/pgbouncer_types.go
Co-authored-by: Chris Bandy <bandy.chris@gmail.com>
1 parent e326d5b commit 2c08ff5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pkg/apis/postgres-operator.crunchydata.com/v1/pgbouncer_types.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,4 @@ import (
1010

1111
// PGBouncerPodSpec defines the desired state of a PgBouncer connection pooler.
1212
// +kubebuilder:validation:XValidation:rule=`self.?config.global.logfile.optMap(f, f.startsWith("/tmp/logs/pgbouncer/") || (self.?volumes.additional.hasValue() && self.volumes.additional.exists(v, f.startsWith("/volumes/" + v.name)))).orValue(true)`,message=`config.global.logfile destination is restricted to '/tmp/logs/pgbouncer/' or an existing additional volume`
13-
type PGBouncerPodSpec struct {
14-
v1beta1.PGBouncerPodSpec `json:",inline"`
15-
}
13+
type PGBouncerPodSpec = v1beta1.PGBouncerPodSpec

0 commit comments

Comments
 (0)