Charmed-Kubernetes/kubernetes-worker/hooks/relations/gcp-integration/README.md

768 B

Overview

This layer encapsulates the gcp-integration interface communication protocol and provides an API for charms on either side of relations using this interface.

Usage

In your charm's layer.yaml, ensure that interface:gcp-integration is included in the includes section:

includes: ['layer:basic', 'interface:gcp-integration']

And in your charm's metadata.yaml, ensure that a relation endpoint is defined using the gcp-integration interface protocol:

requires:
  gcp:
    interface: gcp-integration

For documentation on how to use the API for this interface, see: