ProjectVPC
Usage example¶
Example
Info
To create this resource, a Secret
containing Aiven token must be created first.
Apply the resource with:
Verify the newly created ProjectVPC
:
The output is similar to the following:
Name Project Cloud Network CIDR State
my-project-vpc aiven-project-name google-europe-west1 10.0.0.0/24 RUNNING
ProjectVPC¶
ProjectVPC is the Schema for the projectvpcs API.
Required
apiVersion
(string). Valueaiven.io/v1alpha1
.kind
(string). ValueProjectVPC
.metadata
(object). Data that identifies the object, including aname
string and optionalnamespace
.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, Pattern:^[a-zA-Z0-9_-]+$
, MaxLength: 63). Identifies the project this resource belongs to.
Optional
authSecretRef
(object). Authentication reference to Aiven token in a secret. See below for nested schema.
authSecretRef¶
Appears on spec
.
Authentication reference to Aiven token in a secret.
Required