postgres-operator/pkg/apis/acid.zalan.do
Jakob Gillich f3b83c0b05
Fix empty resources spec field failing schema validation (#1589)
In Go, when a struct field is not set, it becomes a struct with
default values for all fields. These default values are included
during serialization. This causes issues with schema validation
where optional fields cannot be omitted because default values
are considered invalid.

This patch addresses this issue for `Resources` fields on several
types by using a pointer value.
2022-03-18 16:16:32 +01:00
..
v1 Fix empty resources spec field failing schema validation (#1589) 2022-03-18 16:16:32 +01:00
register.go Use code-generation for CRD API and deepcopy methods (#369) 2018-08-15 17:22:25 +02:00