@@ -48,7 +48,7 @@ Given that secret, you can configure your cluster like in
4848the following example:
4949
5050``` yaml
51- apiVersion : postgresql.k8s.enterprisedb.io/v1alpha1
51+ apiVersion : postgresql.k8s.enterprisedb.io/v1
5252kind : Cluster
5353[...]
5454spec :
@@ -78,7 +78,7 @@ In this example, it will use the `bucket` bucket of Linode in the region
7878` us-east1` .
7979
8080` ` ` yaml
81- apiVersion: postgresql.k8s.enterprisedb.io/v1alpha1
81+ apiVersion: postgresql.k8s.enterprisedb.io/v1
8282kind: Cluster
8383[...]
8484spec:
@@ -190,7 +190,7 @@ Proceed by configuring MinIO Gateway service as the `endpointURL` in the `Cluste
190190definition, then choose a bucket name to replace `BUCKET_NAME` :
191191
192192` ` ` yaml
193- apiVersion: postgresql.k8s.enterprisedb.io/v1alpha1
193+ apiVersion: postgresql.k8s.enterprisedb.io/v1
194194kind: Cluster
195195[...]
196196spec:
@@ -217,7 +217,7 @@ To request a new backup, you need to create a new Backup resource
217217like the following one :
218218
219219` ` ` yaml
220- apiVersion: postgresql.k8s.enterprisedb.io/v1alpha1
220+ apiVersion: postgresql.k8s.enterprisedb.io/v1
221221kind: Backup
222222metadata:
223223 name: backup-example
@@ -235,11 +235,11 @@ command:
235235Name: backup-example
236236Namespace: default
237237Labels: <none>
238- Annotations: API Version: postgresql.k8s.enterprisedb.io/v1alpha1
238+ Annotations: API Version: postgresql.k8s.enterprisedb.io/v1
239239Kind: Backup
240240Metadata:
241241 Creation Timestamp: 2020-10-26T13:57:40Z
242- Self Link: /apis/postgresql.k8s.enterprisedb.io/v1alpha1 /namespaces/default/backups/backup-example
242+ Self Link: /apis/postgresql.k8s.enterprisedb.io/v1 /namespaces/default/backups/backup-example
243243 UID: ad5f855c-2ffd-454a-a157-900d5f1f6584
244244Spec:
245245 Cluster:
@@ -257,11 +257,11 @@ like in the following example:
257257Name: backup-example
258258Namespace: default
259259Labels: <none>
260- Annotations: API Version: postgresql.k8s.enterprisedb.io/v1alpha1
260+ Annotations: API Version: postgresql.k8s.enterprisedb.io/v1
261261Kind: Backup
262262Metadata:
263263 Creation Timestamp: 2020-10-26T13:57:40Z
264- Self Link: /apis/postgresql.k8s.enterprisedb.io/v1alpha1 /namespaces/default/backups/backup-example
264+ Self Link: /apis/postgresql.k8s.enterprisedb.io/v1 /namespaces/default/backups/backup-example
265265 UID: ad5f855c-2ffd-454a-a157-900d5f1f6584
266266Spec:
267267 Cluster:
@@ -302,7 +302,7 @@ is the same used in Kubernetes CronJobs.
302302This is an example of a scheduled backup :
303303
304304` ` ` yaml
305- apiVersion: postgresql.k8s.enterprisedb.io/v1alpha1
305+ apiVersion: postgresql.k8s.enterprisedb.io/v1
306306kind: ScheduledBackup
307307metadata:
308308 name: backup-example
@@ -323,7 +323,7 @@ If required, you can choose to compress WAL files as soon as they
323323are uploaded and/or encrypt them :
324324
325325` ` ` yaml
326- apiVersion: postgresql.k8s.enterprisedb.io/v1alpha1
326+ apiVersion: postgresql.k8s.enterprisedb.io/v1
327327kind: Cluster
328328[...]
329329spec:
@@ -352,11 +352,11 @@ following example:
352352Name: backup-example
353353Namespace: default
354354Labels: <none>
355- Annotations: API Version: postgresql.k8s.enterprisedb.io/v1alpha1
355+ Annotations: API Version: postgresql.k8s.enterprisedb.io/v1
356356Kind: Backup
357357Metadata:
358358 Creation Timestamp: 2020-10-26T13:57:40Z
359- Self Link: /apis/postgresql.k8s.enterprisedb.io/v1alpha1 /namespaces/default/backups/backup-example
359+ Self Link: /apis/postgresql.k8s.enterprisedb.io/v1 /namespaces/default/backups/backup-example
360360 UID: ad5f855c-2ffd-454a-a157-900d5f1f6584
361361Spec:
362362 Cluster:
@@ -382,7 +382,7 @@ Events: <none>
382382Given the following cluster definition :
383383
384384` ` ` yaml
385- apiVersion: postgresql.k8s.enterprisedb.io/v1alpha1
385+ apiVersion: postgresql.k8s.enterprisedb.io/v1
386386kind: Cluster
387387metadata:
388388 name: cluster-restore
0 commit comments