Skip to content

Commit 8f27a3b

Browse files
committed
fix: add API group
Signed-off-by: Gabriele Bartolini <[email protected]>
1 parent 4b44296 commit 8f27a3b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

web/docs/object_stores.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ supports it.
6464
You can then reference the secret in your `ObjectStore` definition:
6565

6666
```yaml
67+
apiVersion: barmancloud.cnpg.io/v1
6768
kind: ObjectStore
6869
metadata:
6970
name: aws-store
@@ -125,6 +126,7 @@ or **DigitalOcean Spaces** by specifying a custom `endpointURL`.
125126
Example with Linode (Akamai) Object Storage (`us-east1`):
126127

127128
```yaml
129+
apiVersion: barmancloud.cnpg.io/v1
128130
kind: ObjectStore
129131
metadata:
130132
name: linode-store
@@ -140,6 +142,7 @@ spec:
140142
Example with DigitalOcean Spaces (SFO3, path-style):
141143

142144
```yaml
145+
apiVersion: barmancloud.cnpg.io/v1
143146
kind: ObjectStore
144147
metadata:
145148
name: digitalocean-store
@@ -166,6 +169,7 @@ kubectl create secret generic my-ca-secret --from-file=ca.crt
166169
Then reference it:
167170

168171
```yaml
172+
apiVersion: barmancloud.cnpg.io/v1
169173
kind: ObjectStore
170174
metadata:
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
209214
kind: ObjectStore
210215
metadata:
211216
name: azure-store
@@ -232,6 +237,7 @@ kubectl create secret generic azure-creds \
232237
Then reference the required keys in your `ObjectStore`:
233238

234239
```yaml
240+
apiVersion: barmancloud.cnpg.io/v1
235241
kind: ObjectStore
236242
metadata:
237243
name: azure-store
@@ -291,6 +297,7 @@ when running in GKE:
291297
For example, in the `ObjectStore` resource:
292298

293299
```yaml
300+
apiVersion: barmancloud.cnpg.io/v1
294301
kind: ObjectStore
295302
metadata:
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
326334
kind: ObjectStore
327335
metadata:
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
432441
kind: ObjectStore
433442
metadata:
434443
name: minio-store

0 commit comments

Comments
 (0)