Skip to content

Commit

Permalink
Merge pull request #163 from itzikb-redhat/no-remotegroupid
Browse files Browse the repository at this point in the history
Remove RemoteGroupID from SecurityGroupRule
  • Loading branch information
mdbooth authored Jan 3, 2025
2 parents c699338 + 9827d5d commit 7625aa3
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 33 deletions.
3 changes: 0 additions & 3 deletions api/v1alpha1/securitygroup_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ type SecurityGroupRule struct {

// RemoteAddressGroupId (Not in gophercloud)

// RemoteGroupID
RemoteGroupID *UUID `json:"remoteGroupID,omitempty"`

// RemoteIPPrefix
RemoteIPPrefix *CIDR `json:"remoteIPPrefix,omitempty"`

Expand Down
5 changes: 0 additions & 5 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions cmd/models-schema/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions config/crd/bases/openstack.k-orc.cloud_securitygroups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,6 @@ spec:
minLength: 1
pattern: \b([01]?[0-9][0-9]?|2[0-4][0-9]|25[0-5])\b|any|ah|dccp|egp|esp|gre|icmp|icmpv6|igmp|ipip|ipv6-encap|ipv6-frag|ipv6-icmp|ipv6-nonxt|ipv6-opts|ipv6-route|ospf|pgm|rsvp|sctp|tcp|udp|udplite|vrrp
type: string
remoteGroupID:
description: RemoteGroupID
format: uuid
maxLength: 36
type: string
remoteIPPrefix:
description: RemoteIPPrefix
format: cidr
Expand Down
1 change: 0 additions & 1 deletion internal/controllers/securitygroup/actuator.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ func (obj securityGroupActuator) CreateResource(ctx context.Context) ([]generic.
SecGroupID: osResource.ID,
Description: string(ptr.Deref(resource.Rules[i].Description, "")),
Direction: rules.RuleDirection(ptr.Deref(resource.Rules[i].Direction, "")),
RemoteGroupID: string(ptr.Deref(resource.Rules[i].RemoteGroupID, "")),
RemoteIPPrefix: string(ptr.Deref(resource.Rules[i].RemoteIPPrefix, "")),
Protocol: rules.RuleProtocol(ptr.Deref(resource.Rules[i].Protocol, "")),
EtherType: rules.RuleEtherType(ptr.Deref(resource.Rules[i].Ethertype, "")),
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions pkg/clients/applyconfiguration/internal/internal.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7625aa3

Please sign in to comment.