Skip to content

    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/v1alpha
    kind: Storage
    metadata:
    name: gcs-storage
    spec:
    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