Skip to content

Update default network settings #119

@stevendborrelli

Description

@stevendborrelli

What problem are you facing?

Changes in AKS networking require setting the different default networks. This is hardcoded in the upstream reference platform: https://github.com/upbound/platform-ref-azure/blob/02c12daf4b54c588e4456e29f06f8122d3548010/functions/xcluster/main.k#L41

platformazurev1alpha1.XNetwork{
        metadata: _metadata("composite-network-aks")
        spec: {
            parameters: {
                id: _id
                region: _region
                deletionPolicy: _deletionPolicy
                providerConfigName: _providerConfigName
                addressRange: "10.1.0.0/16"
                generalSubnetRange: "10.1.1.0/24"
                databaseSubnets: [
                    {
                        addressRange: "10.1.2.0/24"
                        serviceType: "mysql"
                    }
                ]
            }
        }
    }

The current default values are:

                 addressRange:
                    type: string
                    description: Address range (CIDR block) for the virtual network
                    default: "10.0.0.0/16"
                  generalSubnetRange:
                    type: string
                    description: Address range (CIDR block) for the general subnet
                    default: "10.0.1.0/24"

How could Upbound help solve your problem?

Set the default values to better support AKS.

Epic #

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions