|
| 1 | +--- |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + annotations: |
| 6 | + controller-gen.kubebuilder.io/version: v0.14.0 |
| 7 | + name: postgresqlpublications.postgresql.easymile.com |
| 8 | +spec: |
| 9 | + group: postgresql.easymile.com |
| 10 | + names: |
| 11 | + kind: PostgresqlPublication |
| 12 | + listKind: PostgresqlPublicationList |
| 13 | + plural: postgresqlpublications |
| 14 | + shortNames: |
| 15 | + - pgpublication |
| 16 | + - pgpub |
| 17 | + singular: postgresqlpublication |
| 18 | + scope: Namespaced |
| 19 | + versions: |
| 20 | + - additionalPrinterColumns: |
| 21 | + - description: Publication |
| 22 | + jsonPath: .status.name |
| 23 | + name: Publication |
| 24 | + type: string |
| 25 | + - description: Status phase |
| 26 | + jsonPath: .status.replicationSlotName |
| 27 | + name: Replication slot name |
| 28 | + type: string |
| 29 | + - description: Status phase |
| 30 | + jsonPath: .status.replicationSlotPlugin |
| 31 | + name: Replication slot plugin |
| 32 | + type: string |
| 33 | + - description: Status phase |
| 34 | + jsonPath: .status.phase |
| 35 | + name: Phase |
| 36 | + type: string |
| 37 | + name: v1alpha1 |
| 38 | + schema: |
| 39 | + openAPIV3Schema: |
| 40 | + description: PostgresqlPublication is the Schema for the postgresqlpublications |
| 41 | + API. |
| 42 | + properties: |
| 43 | + apiVersion: |
| 44 | + description: |- |
| 45 | + APIVersion defines the versioned schema of this representation of an object. |
| 46 | + Servers should convert recognized schemas to the latest internal value, and |
| 47 | + may reject unrecognized values. |
| 48 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 49 | + type: string |
| 50 | + kind: |
| 51 | + description: |- |
| 52 | + Kind is a string value representing the REST resource this object represents. |
| 53 | + Servers may infer this from the endpoint the client submits requests to. |
| 54 | + Cannot be updated. |
| 55 | + In CamelCase. |
| 56 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 57 | + type: string |
| 58 | + metadata: |
| 59 | + type: object |
| 60 | + spec: |
| 61 | + description: PostgresqlPublicationSpec defines the desired state of PostgresqlPublication. |
| 62 | + properties: |
| 63 | + allTables: |
| 64 | + description: |- |
| 65 | + Publication for all tables |
| 66 | + Note: This is mutually exclusive with "tablesInSchema" & "tables" |
| 67 | + type: boolean |
| 68 | + database: |
| 69 | + description: Postgresql Database |
| 70 | + properties: |
| 71 | + name: |
| 72 | + description: Custom resource name |
| 73 | + type: string |
| 74 | + namespace: |
| 75 | + description: Custom resource namespace |
| 76 | + type: string |
| 77 | + required: |
| 78 | + - name |
| 79 | + type: object |
| 80 | + dropOnDelete: |
| 81 | + description: Should drop database on Custom Resource deletion ? |
| 82 | + type: boolean |
| 83 | + name: |
| 84 | + description: Postgresql Publication name |
| 85 | + type: string |
| 86 | + replicationSlotName: |
| 87 | + description: |- |
| 88 | + Postgresql replication slot name |
| 89 | + Default value will the publication name |
| 90 | + type: string |
| 91 | + replicationSlotPlugin: |
| 92 | + description: |- |
| 93 | + Postgresql replication slot plugin |
| 94 | + Default value will be "pgoutput" |
| 95 | + type: string |
| 96 | + tables: |
| 97 | + description: Publication for selected tables |
| 98 | + items: |
| 99 | + properties: |
| 100 | + additionalWhere: |
| 101 | + description: Additional WHERE for table |
| 102 | + type: string |
| 103 | + columns: |
| 104 | + description: Columns to export |
| 105 | + items: |
| 106 | + type: string |
| 107 | + type: array |
| 108 | + tableName: |
| 109 | + description: Table name to use for publication |
| 110 | + type: string |
| 111 | + required: |
| 112 | + - tableName |
| 113 | + type: object |
| 114 | + type: array |
| 115 | + tablesInSchema: |
| 116 | + description: |- |
| 117 | + Publication for tables in schema |
| 118 | + Note: This is a list of schema |
| 119 | + items: |
| 120 | + type: string |
| 121 | + type: array |
| 122 | + withParameters: |
| 123 | + description: Publication with parameters |
| 124 | + properties: |
| 125 | + publish: |
| 126 | + description: |- |
| 127 | + Publish param |
| 128 | + See here: https://www.postgresql.org/docs/current/sql-createpublication.html#SQL-CREATEPUBLICATION-PARAMS-WITH-PUBLISH |
| 129 | + type: string |
| 130 | + publishViaPartitionRoot: |
| 131 | + description: |- |
| 132 | + Publish via partition root param |
| 133 | + See here: https://www.postgresql.org/docs/current/sql-createpublication.html#SQL-CREATEPUBLICATION-PARAMS-WITH-PUBLISH |
| 134 | + type: boolean |
| 135 | + required: |
| 136 | + - publish |
| 137 | + type: object |
| 138 | + required: |
| 139 | + - database |
| 140 | + - name |
| 141 | + type: object |
| 142 | + status: |
| 143 | + description: PostgresqlPublicationStatus defines the observed state of |
| 144 | + PostgresqlPublication. |
| 145 | + properties: |
| 146 | + allTables: |
| 147 | + description: Marker for save |
| 148 | + type: boolean |
| 149 | + hash: |
| 150 | + description: Resource Spec hash |
| 151 | + type: string |
| 152 | + message: |
| 153 | + description: Human-readable message indicating details about current |
| 154 | + operator phase or error. |
| 155 | + type: string |
| 156 | + name: |
| 157 | + description: Created publication name |
| 158 | + type: string |
| 159 | + phase: |
| 160 | + description: Current phase of the operator |
| 161 | + type: string |
| 162 | + ready: |
| 163 | + description: True if all resources are in a ready state and all work |
| 164 | + is done. |
| 165 | + type: boolean |
| 166 | + replicationSlotName: |
| 167 | + description: Created replication slot name |
| 168 | + type: string |
| 169 | + replicationSlotPlugin: |
| 170 | + description: Created replication slot plugin |
| 171 | + type: string |
| 172 | + required: |
| 173 | + - phase |
| 174 | + type: object |
| 175 | + type: object |
| 176 | + served: true |
| 177 | + storage: true |
| 178 | + subresources: |
| 179 | + status: {} |
0 commit comments