Skip to main content

Reference

ClientIntents example (YAML)

apiVersion: k8s.otterize.com/v1alpha3
kind: ClientIntents
metadata:
name: server
spec:
service:
# The name of the pod that will be granted access
name: server
calls:
# The GCP resource name as defined in the linked documentation below
# Wildcards can be used in the end of the resource name to match multiple and nested resources
- name: projects/_/buckets/otterize-demo-bucket*
type: gcp
# one or more GCP Roles that will be provided to the specified resources
gcpPermissions:
- "storage.admin"
# Multiple call definitions can be defined for a single service.
- name: projects/_/buckets/otterize-read-only-bucket*
type: gcp
gcpPermissions:
- "storage.objectViewer"

GCP documentation references

Annotations

KeyDescriptionDefault
credentials-operator.otterize.com/create-gcp-saWhen set to true, the credential operator will create a unique GCP service account for the K8S ServiceAccount of the associated podfalse

Helm Chart options

KeyDescriptionDefault
global.gcp.enabledEnable or disable GCP integrationfalse

View the Helm chart reference for all other options