Skip to content

Commit 27cacd5

Browse files
authored
Merge pull request #138 from crossplane-contrib/fix/subnetNetworkReference
Fix reference from subnet to network (#137)
2 parents 1fe1886 + e1a0b85 commit 27cacd5

File tree

5 files changed

+19
-15
lines changed

5 files changed

+19
-15
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
## [Unreleased]
1010

11+
### Fixed
12+
13+
- Fix wrong reference from Neutron Subnets to Networks (#137)
14+
1115
## [0.7.0] - 2025-05-22
1216

1317
### Changed

apis/networking/v1alpha1/zz_generated.resolvers.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/networking/v1alpha1/zz_subnetv2_types.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/networking/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import "github.com/crossplane/upjet/pkg/config"
66
func Configure(p *config.Provider) {
77
p.AddResourceConfigurator("openstack_networking_subnet_v2", func(r *config.Resource) {
88
r.References["network_id"] = config.Reference{
9-
TerraformName: "openstack_networking_subnet_v2",
9+
TerraformName: "openstack_networking_network_v2",
1010
}
1111
r.LateInitializer = config.LateInitializer{
1212
IgnoredFields: []string{"allocation_pools"},

package/crds/networking.openstack.crossplane.io_subnetv2s.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ spec:
154154
creates a new subnet.
155155
type: string
156156
networkIdRef:
157-
description: Reference to a SubnetV2 in networking to populate
157+
description: Reference to a NetworkV2 in networking to populate
158158
networkId.
159159
properties:
160160
name:
@@ -189,7 +189,7 @@ spec:
189189
- name
190190
type: object
191191
networkIdSelector:
192-
description: Selector for a SubnetV2 in networking to populate
192+
description: Selector for a NetworkV2 in networking to populate
193193
networkId.
194194
properties:
195195
matchControllerRef:
@@ -370,7 +370,7 @@ spec:
370370
creates a new subnet.
371371
type: string
372372
networkIdRef:
373-
description: Reference to a SubnetV2 in networking to populate
373+
description: Reference to a NetworkV2 in networking to populate
374374
networkId.
375375
properties:
376376
name:
@@ -405,7 +405,7 @@ spec:
405405
- name
406406
type: object
407407
networkIdSelector:
408-
description: Selector for a SubnetV2 in networking to populate
408+
description: Selector for a NetworkV2 in networking to populate
409409
networkId.
410410
properties:
411411
matchControllerRef:

0 commit comments

Comments
 (0)