cluster-api-provider-ibmcloud
cluster-api-provider-ibmcloud copied to clipboard
Document and update logic in controllers for handling the resources identified by either ID or Name.
/kind feature /area provider/ibmcloud
Describe the solution you'd like [A clear and concise description of what you want to happen.]
Currently for any cloud resource for example PowerVS workspace, TransitGateway, VPC user can specify it either via ID, Name and in some cases regular expressions and there are some assumptions we made and which needs to be documented
- If user sets ID we expect it to be exist in cloud or lese fails the and update it via Event/condition on resource.
- If user sets Name and the resource does not exist with given name we create it.
Along with documentation we need to revisit the controller code to ensure that this flow is achieved.
Few other things to note
- For VPC subnets and loadbalancers we should not allow users to set duplicate names.
- Document that if both name and id provided id will get precedence and update logic accordingly.
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle stale - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle rotten - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
/remove-lifecycle rotten