Publication is the Schema for the publications API
5 top-level fields, 2 required · unchanged since CloudNativePG v1.25.0
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
PublicationSpec defines the desired state of Publication
The name of the PostgreSQL cluster that identifies the "publisher"
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
The name of the database where the publication will be installed in the "publisher" cluster
The name of the publication inside PostgreSQL
Publication parameters part of the `WITH` clause as expected by PostgreSQL `CREATE PUBLICATION` command
The policy for end-of-life maintenance of this publication
Target of the publication as expected by PostgreSQL `CREATE PUBLICATION` command
Marks the publication as one that replicates changes for all tables in the database, including tables created in the future. Corresponding to `FOR ALL TABLES` in PostgreSQL.
Just the following schema objects
Specifies a list of tables to add to the publication. Corresponding to `FOR TABLE` in PostgreSQL.
The columns to publish
The table name
Whether to limit to the table only or include all its descendants
The schema name
Marks the publication as one that replicates changes for all tables in the specified list of schemas, including tables created in the future. Corresponding to `FOR TABLES IN SCHEMA` in PostgreSQL.
PublicationStatus defines the observed state of Publication
Applied is true if the publication was reconciled correctly
Message is the reconciliation output message
A sequence number representing the latest desired state that was synchronized
Source: postgresql.cnpg.io_publications.yaml
Changes to Publication (postgresql.cnpg.io/v1) in each CloudNativePG version, compared to the version before it.
Publication was first seen on this version of CloudNativePG
Released · View Publication in v1.25.0
No examples of Publication yet. Contribute one on GitHub.