diff --git a/pkg/spec/postgresql.go b/pkg/spec/postgresql.go index 8ef7c2402..d5e9177fa 100644 --- a/pkg/spec/postgresql.go +++ b/pkg/spec/postgresql.go @@ -69,7 +69,7 @@ type Postgresql struct { Metadata v1.ObjectMeta `json:"metadata"` Spec PostgresSpec `json:"spec"` - Status PostgresStatus `json:"status"` + Status PostgresStatus `json:"status,omitempty"` Error error `json:"-"` }