cluster-api-provider-oci
cluster-api-provider-oci copied to clipboard
Support more configs for cluster and VCN creation
What would you like to be added:
-
Support the following config in OCIManagedControlPlaneSpec: https://github.com/oracle/cluster-api-provider-oci/blob/b53ef08340b0f763ca776f6e828348cfd9e4662e/api/v1beta2/ocimanagedcontrolplane_types.go#L147 Additional options: serviceLbSubnetIds https://docs.oracle.com/en-us/iaas/api/#/en/containerengine/20180222/datatypes/ClusterCreateOptions https://github.com/oracle/cluster-api-provider-oci/blob/b53ef08340b0f763ca776f6e828348cfd9e4662e/api/v1beta2/ocimanagedcontrolplane_types.go#L88 Additional options: subnetId https://docs.oracle.com/en-us/iaas/api/#/en/containerengine/20180222/datatypes/CreateClusterEndpointConfigDetails
-
Support for prohibitPublicIpOnVnic https://docs.oracle.com/en-us/iaas/api/#/en/iaas/20160918/datatypes/CreateSubnetDetails
-
Add support for customized route table: https://docs.oracle.com/en-us/iaas/api/#/en/iaas/20160918/datatypes/CreateRouteTableDetails Currently we can only choose to skip or not skip route tables https://github.com/oracle/cluster-api-provider-oci/blob/b53ef08340b0f763ca776f6e828348cfd9e4662e/api/v1beta2/types.go#L1090
-
Add support for Dynamic Routing Gateways https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/managingDRGs.htm
Why is this needed: We would like to automate networking and cluster setup using CAPOCI. These features are required for our networking and cluster setup
Update: For No.1 We are able to achieve this by adding the role parameter to the lb subnet and control-plane-endpoint subnet https://github.com/oracle/cluster-api-provider-oci/blob/main/api/v1beta2/types.go#L34
For No.2 We are able to set prohibitPublicIpOnVnic by setting the type of subnet https://github.com/oracle/cluster-api-provider-oci/blob/main/api/v1beta2/types.go#L858
For No.4: There is existing support to add DRG