@@ -64,6 +64,7 @@ supports it.
6464You can then reference the secret in your ` ObjectStore ` definition:
6565
6666``` yaml
67+ apiVersion : barmancloud.cnpg.io/v1
6768kind : ObjectStore
6869metadata :
6970 name : aws-store
@@ -125,6 +126,7 @@ or **DigitalOcean Spaces** by specifying a custom `endpointURL`.
125126Example with Linode (Akamai) Object Storage (` us-east1 ` ):
126127
127128``` yaml
129+ apiVersion : barmancloud.cnpg.io/v1
128130kind : ObjectStore
129131metadata :
130132 name : linode-store
@@ -140,6 +142,7 @@ spec:
140142Example with DigitalOcean Spaces (SFO3, path-style):
141143
142144``` yaml
145+ apiVersion : barmancloud.cnpg.io/v1
143146kind : ObjectStore
144147metadata :
145148 name : digitalocean-store
@@ -166,6 +169,7 @@ kubectl create secret generic my-ca-secret --from-file=ca.crt
166169Then reference it:
167170
168171``` yaml
172+ apiVersion : barmancloud.cnpg.io/v1
169173kind : ObjectStore
170174metadata :
171175 name : minio-store
@@ -206,6 +210,7 @@ This method avoids storing credentials in Kubernetes via the
206210` .spec.configuration.inheritFromAzureAD ` option:
207211
208212``` yaml
213+ apiVersion : barmancloud.cnpg.io/v1
209214kind : ObjectStore
210215metadata :
211216 name : azure-store
@@ -232,6 +237,7 @@ kubectl create secret generic azure-creds \
232237Then reference the required keys in your ` ObjectStore ` :
233238
234239``` yaml
240+ apiVersion : barmancloud.cnpg.io/v1
235241kind : ObjectStore
236242metadata :
237243 name : azure-store
@@ -291,6 +297,7 @@ when running in GKE:
291297For example, in the ` ObjectStore ` resource:
292298
293299``` yaml
300+ apiVersion : barmancloud.cnpg.io/v1
294301kind : ObjectStore
295302metadata :
296303 name : google-store
@@ -323,6 +330,7 @@ kubectl create secret generic backup-creds --from-file=gcsCredentials=gcs_creden
323330` ` `
324331
325332` ` ` yaml
333+ apiVersion: barmancloud.cnpg.io/v1
326334kind: ObjectStore
327335metadata:
328336 name: google-store
@@ -429,6 +437,7 @@ Proceed by configuring MinIO Gateway service as the `endpointURL` in the
429437`ObjectStore` definition, then choose a bucket name to replace `BUCKET_NAME` :
430438
431439` ` ` yaml
440+ apiVersion: barmancloud.cnpg.io/v1
432441kind: ObjectStore
433442metadata:
434443 name: minio-store
0 commit comments