Skip to main content

Reference

ClientIntents example (YAML)

apiVersion: k8s.otterize.com/v2beta1
kind: ClientIntents
metadata:
name: server
spec:
workload:
# The name of the pod that will be granted access
name: server
kind: Deployment
targets:
# 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
- gcp:
resource: projects/_/buckets/otterize-demo-bucket*
# one or more GCP Roles that will be provided to the specified resources
permissions:
- "storage.admin"
# Multiple call definitions can be defined for a single service.
- gcp:
resource: projects/_/buckets/otterize-read-only-bucket*
permissions:
- "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