|
| 1 | +--- |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + annotations: |
| 6 | + controller-gen.kubebuilder.io/version: v0.16.5 |
| 7 | + name: rosanetworks.infrastructure.cluster.x-k8s.io |
| 8 | +spec: |
| 9 | + group: infrastructure.cluster.x-k8s.io |
| 10 | + names: |
| 11 | + categories: |
| 12 | + - cluster-api |
| 13 | + kind: RosaNetwork |
| 14 | + listKind: RosaNetworkList |
| 15 | + plural: rosanetworks |
| 16 | + shortNames: |
| 17 | + - rosanet |
| 18 | + singular: rosanetwork |
| 19 | + scope: Namespaced |
| 20 | + versions: |
| 21 | + - name: v1beta2 |
| 22 | + schema: |
| 23 | + openAPIV3Schema: |
| 24 | + description: RosaNetwork is the Schema for the rosanetworks API |
| 25 | + properties: |
| 26 | + apiVersion: |
| 27 | + description: |- |
| 28 | + APIVersion defines the versioned schema of this representation of an object. |
| 29 | + Servers should convert recognized schemas to the latest internal value, and |
| 30 | + may reject unrecognized values. |
| 31 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 32 | + type: string |
| 33 | + kind: |
| 34 | + description: |- |
| 35 | + Kind is a string value representing the REST resource this object represents. |
| 36 | + Servers may infer this from the endpoint the client submits requests to. |
| 37 | + Cannot be updated. |
| 38 | + In CamelCase. |
| 39 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 40 | + type: string |
| 41 | + metadata: |
| 42 | + type: object |
| 43 | + spec: |
| 44 | + description: RosaNetworkSpec defines the desired state of RosaNetwork |
| 45 | + properties: |
| 46 | + availabilityZoneCount: |
| 47 | + default: 1 |
| 48 | + description: |- |
| 49 | + The number of availability zones to be used for creation of the network infrastructure. |
| 50 | + You can specify anything between one and four, depending on the chosen AWS region. |
| 51 | + type: integer |
| 52 | + availabilityZones: |
| 53 | + description: |- |
| 54 | + The list of availability zones to be used for creation of the network infrastructure. |
| 55 | + You can specify anything between one and four valid availability zones from a given region. |
| 56 | + Should you specify both the availabilityZoneCount and availabilityZones, the list of availability zones takes preference. |
| 57 | + items: |
| 58 | + type: string |
| 59 | + type: array |
| 60 | + cidrBlock: |
| 61 | + description: CIDR block to be used for the VPC |
| 62 | + format: cidr |
| 63 | + type: string |
| 64 | + identityRef: |
| 65 | + description: |- |
| 66 | + IdentityRef is a reference to an identity to be used when reconciling rosa network. |
| 67 | + If no identity is specified, the default identity for this controller will be used. |
| 68 | + properties: |
| 69 | + kind: |
| 70 | + description: Kind of the identity. |
| 71 | + enum: |
| 72 | + - AWSClusterControllerIdentity |
| 73 | + - AWSClusterRoleIdentity |
| 74 | + - AWSClusterStaticIdentity |
| 75 | + type: string |
| 76 | + name: |
| 77 | + description: Name of the identity. |
| 78 | + minLength: 1 |
| 79 | + type: string |
| 80 | + required: |
| 81 | + - kind |
| 82 | + - name |
| 83 | + type: object |
| 84 | + region: |
| 85 | + description: The AWS region in which the components of ROSA network |
| 86 | + infrastruture are to be crated |
| 87 | + type: string |
| 88 | + required: |
| 89 | + - cidrBlock |
| 90 | + - region |
| 91 | + type: object |
| 92 | + status: |
| 93 | + description: RosaNetworkStatus defines the observed state of RosaNetwork |
| 94 | + properties: |
| 95 | + conditions: |
| 96 | + description: Conditions specifies the conditions for RosaNetwork |
| 97 | + items: |
| 98 | + description: Condition defines an observation of a Cluster API resource |
| 99 | + operational state. |
| 100 | + properties: |
| 101 | + lastTransitionTime: |
| 102 | + description: |- |
| 103 | + Last time the condition transitioned from one status to another. |
| 104 | + This should be when the underlying condition changed. If that is not known, then using the time when |
| 105 | + the API field changed is acceptable. |
| 106 | + format: date-time |
| 107 | + type: string |
| 108 | + message: |
| 109 | + description: |- |
| 110 | + A human readable message indicating details about the transition. |
| 111 | + This field may be empty. |
| 112 | + type: string |
| 113 | + reason: |
| 114 | + description: |- |
| 115 | + The reason for the condition's last transition in CamelCase. |
| 116 | + The specific API may choose whether or not this field is considered a guaranteed API. |
| 117 | + This field may be empty. |
| 118 | + type: string |
| 119 | + severity: |
| 120 | + description: |- |
| 121 | + severity provides an explicit classification of Reason code, so the users or machines can immediately |
| 122 | + understand the current situation and act accordingly. |
| 123 | + The Severity field MUST be set only when Status=False. |
| 124 | + type: string |
| 125 | + status: |
| 126 | + description: status of the condition, one of True, False, Unknown. |
| 127 | + type: string |
| 128 | + type: |
| 129 | + description: |- |
| 130 | + type of condition in CamelCase or in foo.example.com/CamelCase. |
| 131 | + Many .condition.type values are consistent across resources like Available, but because arbitrary conditions |
| 132 | + can be useful (see .node.status.conditions), the ability to deconflict is important. |
| 133 | + type: string |
| 134 | + required: |
| 135 | + - lastTransitionTime |
| 136 | + - status |
| 137 | + - type |
| 138 | + type: object |
| 139 | + type: array |
| 140 | + resources: |
| 141 | + description: Resources created in the cloudformation stack |
| 142 | + items: |
| 143 | + description: CFResource groups information pertaining to a resource |
| 144 | + created as a part of a cloudformation stack |
| 145 | + properties: |
| 146 | + ID: |
| 147 | + description: Identified of the created resource. Will be filled |
| 148 | + in once the resource is created & ready |
| 149 | + type: string |
| 150 | + reason: |
| 151 | + description: Message pertaining to the status of the resource |
| 152 | + type: string |
| 153 | + resource: |
| 154 | + description: 'Name of the created resource: NATGateway1, VPC, |
| 155 | + SecurityGroup, ...' |
| 156 | + type: string |
| 157 | + status: |
| 158 | + description: 'Status of the resource: CREATE_IN_PROGRESS, CREATE_COMPLETE, |
| 159 | + ...' |
| 160 | + type: string |
| 161 | + required: |
| 162 | + - ID |
| 163 | + - reason |
| 164 | + - resource |
| 165 | + - status |
| 166 | + type: object |
| 167 | + type: array |
| 168 | + subnets: |
| 169 | + description: Array of created private, public subnets and availability |
| 170 | + zones, grouped by availability zones |
| 171 | + items: |
| 172 | + description: RosaNetworkSubnet groups public and private subnet |
| 173 | + and the availability zone in which the two subnets got created |
| 174 | + properties: |
| 175 | + availabilityZone: |
| 176 | + description: Availability zone of the subnet pair |
| 177 | + type: string |
| 178 | + privateSubnet: |
| 179 | + description: ID of the private subnet |
| 180 | + type: string |
| 181 | + publicSubnet: |
| 182 | + description: ID of the public subnet |
| 183 | + type: string |
| 184 | + required: |
| 185 | + - availabilityZone |
| 186 | + - privateSubnet |
| 187 | + - publicSubnet |
| 188 | + type: object |
| 189 | + type: array |
| 190 | + required: |
| 191 | + - resources |
| 192 | + - subnets |
| 193 | + type: object |
| 194 | + type: object |
| 195 | + served: true |
| 196 | + storage: true |
0 commit comments