Open
Description
Creating a minimal subnet with:
apiVersion: openstack.k-orc.cloud/v1alpha1
kind: Network
metadata:
name: create-minimal
spec:
cloudCredentialsRef:
cloudName: devstack
secretName: openstack-clouds
managementPolicy: managed
resource:
description: create-minimal
---
apiVersion: openstack.k-orc.cloud/v1alpha1
kind: Subnet
metadata:
name: create-minimal
spec:
cloudCredentialsRef:
cloudName: devstack
secretName: openstack-clouds
managementPolicy: managed
networkRef: create-minimal
resource:
ipVersion: 4
cidr: 192.168.0.0/24
Returns an object with the following status:
status:
resource:
name: create-minimal
description: ""
allocationPools:
- start: 192.168.0.2
end: 192.168.0.254
cidr: 192.168.0.0/24
dnsPublishFixedIP: false
enableDHCP: true
gatewayIP: 192.168.0.1
ipVersion: 4
ipv6AddressMode: ""
ipv6RAMode: ""
This is surprising to see description
, ipv6AddressMode
, and ipv6RAMode
as they all have an omitempty
tag and shouldn't be returned.
Metadata
Metadata
Assignees
Labels
No labels