- 
                Notifications
    You must be signed in to change notification settings 
- Fork 281
⚠️SecurityGroupFilter to SecurityGroupParam #1974
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚠️SecurityGroupFilter to SecurityGroupParam #1974
Conversation
| [APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mdbooth The full list of commands accepted by this bot can be found here. The pull request process is described here 
Needs approval from an approver in each of these files:
 
 Approvers can indicate their approval by writing  | 
| ✅ Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!
 To edit notification comments on pull requests, go to your Netlify site configuration. | 
4b7211a    to
    e0f407f      
    Compare
  
    | /test pull-cluster-api-provider-openstack-e2e-full-test | 
e0f407f    to
    4442f0d      
    Compare
  
    | /test pull-cluster-api-provider-openstack-e2e-full-test | 
4442f0d    to
    edbb720      
    Compare
  
    | /test pull-cluster-api-provider-openstack-e2e-full-test | 
edbb720    to
    bbeabad      
    Compare
  
    bbeabad    to
    de283e6      
    Compare
  
    | /test pull-cluster-api-provider-openstack-e2e-full-test | 
        
          
                api/v1alpha6/types_conversion.go
              
                Outdated
          
        
      | } | ||
|  | ||
| func Convert_v1alpha6_SecurityGroupFilter_To_v1beta1_SecurityGroupFilter(in *SecurityGroupFilter, out *infrav1.SecurityGroupFilter, s apiconversion.Scope) error { | ||
| /* | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks weird?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eurgh. Forgot to remove this :(
| // SecurityGroupFilter specifies a query to select an OpenStack security group. At least one property must be set. | ||
| // +kubebuilder:validation:MinProperties:=1 | ||
| type SecurityGroupFilter struct { | ||
| ID string `json:"id,omitempty"` | ||
| Name string `json:"name,omitempty"` | ||
| Description string `json:"description,omitempty"` | ||
| ProjectID string `json:"projectID,omitempty"` | ||
|  | ||
| FilterByNeutronTags `json:",inline"` | ||
| } | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could probably take the opportunity to add descriptions here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, but I'm trying to minimise this series as much as possible. These can probably all do with pointerification, too, but both can happen post v1beta1 release so I'd prefer to punt.
de283e6    to
    865933d      
    Compare
  
    | Last push simply removes the commented code. | 
| /lgtm | 
| /hold cancel I'd re-run the full test, but as I literally only removed some commented-out-code since it last ran successfully on this PR I won't. | 
See #1975
TODO:
/hold