Skip to content
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

Add Security Group CRD #65

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

nsricardor
Copy link

@nsricardor nsricardor commented Oct 21, 2024

This PR introduces the SecurityGroup CRD and the provider-specific data structure

@nsricardor nsricardor marked this pull request as ready for review October 21, 2024 10:59
// SecurityGroupID is the security group ID.
SecurityGroupID *string `json:"securityGroupID,omitempty"`
// Rules are the security group rules.
Rules []rules.SecGroupRule `json:"rules,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should be importing/exposing gophercloud types, there's jsut way too much unnecessary crap in there.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😮 I updated it but forgot to push. The gophercloud type is missing the JSON tag on a few elements, which is causing the CRD generation to fail. I'll fix that - thanks for the review so far! ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants