postgres-operator/pkg
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
..
apis Fix empty resources spec field failing schema validation (#1589) 2022-03-18 16:16:32 +01:00
apiserver reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
cluster Fix empty resources spec field failing schema validation (#1589) 2022-03-18 16:16:32 +01:00
controller grant db owners to cron_admin (#1805) 2022-03-18 12:36:12 +01:00
generated create CDC event stream CRD (#1570) 2022-02-28 10:09:42 +01:00
spec grant db owners to cron_admin (#1805) 2022-03-18 12:36:12 +01:00
teams Rename roles that are removed from PostgresTeam CRD (#1457) 2021-05-21 15:49:39 +02:00
util fix comparison of event stream array (#1817) 2022-03-18 15:06:17 +01:00