Skip to content

ProjectVPC

Usage example

apiVersion: aiven.io/v1alpha1
kind: ProjectVPC
metadata:
  name: my-project-vpc
spec:
  authSecretRef:
    name: aiven-token
    key: token

  project: aiven-project-name
  cloudName: google-europe-west1
  networkCidr: 10.0.0.0/24

ProjectVPC

ProjectVPC is the Schema for the projectvpcs API.

Required

  • apiVersion (string). Value aiven.io/v1alpha1.
  • kind (string). Value ProjectVPC.
  • metadata (object). Data that identifies the object, including a name string and optional namespace.
  • spec (object). ProjectVPCSpec defines the desired state of ProjectVPC. See below for nested schema.

spec

Appears on ProjectVPC.

ProjectVPCSpec defines the desired state of ProjectVPC.

Required

  • cloudName (string, Immutable, MaxLength: 256). Cloud the VPC is in.
  • networkCidr (string, Immutable, MaxLength: 36). Network address range used by the VPC like 192.168.0.0/24.
  • project (string, Immutable, MaxLength: 63, Format: ^[a-zA-Z0-9_-]+$). Identifies the project this resource belongs to.

Optional

authSecretRef

Appears on spec.

Authentication reference to Aiven token in a secret.

Required

  • key (string, MinLength: 1).
  • name (string, MinLength: 1).