-
Notifications
You must be signed in to change notification settings - Fork 9
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
INTLY-8162 cleanup rhmi vpc #13
INTLY-8162 cleanup rhmi vpc #13
Conversation
1b44a35
to
ba6ab1d
Compare
ba6ab1d
to
7957be0
Compare
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.
Looks good just a few small comments!
40ca439
to
2409219
Compare
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.
Few comments inline
2234e45
to
a6b5b01
Compare
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.
Just one comment in line, also out of curiosity what was changed to cause so many changes to the vendor files?
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.
Small comments
a6b5b01
to
659453c
Compare
- adding tests for those - update the readme run section Co-authored-by: laurafitzgerald <[email protected]>
659453c
to
50786c7
Compare
Answered above. We should be good now. 👍 |
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.
Looks good 👍 Just trying to find somewhere to verify now
Verifying against |
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.
👍
JIRA
https://issues.redhat.com/browse/INTLY-8162
Verification
Using a byoc cluster run
cloud-resource-operator
to create the new network resources with the following steps.ocm_cluster_login <cluster-name>
make cluster/seed/managed/postgres
make cluster/seed/managed/redis
make run
Verify that the expected resources are created in aws. e.g. (in ec2: vpc, vpcpeering, routetable, 2 subnets, security groups, in rds: subnetgroup, rds, in elasticache: elasticache cluster, subnetgroup) with the tag
RHMI Cloud Resource <ResourceType>
Stop CRO (this step is required or it will continually reconcile and create new resources as cluster-service deletes them)
Run
make build/cli
for this prRun
./cluster-service cleanup <clusterid> --dry-run=false --watch
The expected outcome is that the cli will loop on
has dependencies and cannot be deleted
until the dependencies get deleted. Eventually all dependency resources will be deleted and the vpc will be last resource to be deleted.E.g.