-
Notifications
You must be signed in to change notification settings - Fork 55
Add support for Security Group Adoption #165
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
Changes from 4 commits
f0bab55
631bde4
6ffa1b5
5aca0e8
ae3574b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
if found { | ||
|
||
// Needed because SecurityGroups Name are held in GroupName property of the AWS resource | ||
ko.Spec.Name = resp.SecurityGroups[0].GroupName | ||
|
||
Comment on lines
+2
to
+5
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You also need to add generated file in this PR. This seems to be a good approach to handle adoptedResource There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please let me know if you plan to make this change. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, I was sick, new version with generated files should be in |
||
rm.addRulesToSpec(ko, resp.SecurityGroups[0]) | ||
|
||
// A ReadOne call for SecurityGroup Rules (NOT SecurityGroups) | ||
|
@@ -8,4 +12,4 @@ | |
} else { | ||
ko.Status.Rules = rules | ||
} | ||
} | ||
} |
Uh oh!
There was an error while loading. Please reload this page.