# A deliberately minimal, permissive stub of Zalando postgres-operator's # `postgresql` CRD -- test-only, installed into envtest so suite_test.go can # create fixture `postgresql.acid.zalan.do` objects without a real # postgres-operator controller running. This is NOT the real upstream CRD # (which has a much larger structural schema); it exists purely so this # repo's own controller logic -- which only ever Gets this object by name # and never inspects its spec/status fields beyond existence -- has # something matching the real GVK to read. A real cluster installs the # genuine CRD via the postgres-operator chart; this file is never applied # there. apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: postgresqls.acid.zalan.do spec: group: acid.zalan.do names: kind: postgresql listKind: postgresqlList plural: postgresqls singular: postgresql scope: Namespaced versions: - name: v1 served: true storage: true schema: openAPIV3Schema: type: object x-kubernetes-preserve-unknown-fields: true