Google Cloud Storage
This page describes the configuration options for the Google Cloud Storage resource.
The Google Cloud Storage resource is used to configure an Google Cloud Storage Bucket as a storage backend.
It is defined by the .spec.gcsBucket
field in a Storage.
Configuring the bucket
To configure the bucket, you must specify its name. You can also set an optional path prefix.
apiVersion: kannika.io/v1alphakind: Storagemetadata: name: gcs-storagespec: gcsBucket: bucket: my-bucket prefix: path/to/directory # Optional description: "This is a GCS bucket" # Optional
Configuring authentication to the GCS bucket
For authentication, please check the section on GCP Authentication
Configuring a data retention policy
A retention policy to delete old data can be configured in a Backup.
Make sure the bucket has no retention policy defined or it might interfere with Armory’s own book keeping.