cluster-api-provider-ibmcloud icon indicating copy to clipboard operation
cluster-api-provider-ibmcloud copied to clipboard

Document and update logic in controllers for handling the resources identified by either ID or Name.

Open Karthik-K-N opened this issue 1 year ago • 3 comments

/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

  1. If user sets ID we expect it to be exist in cloud or lese fails the and update it via Event/condition on resource.
  2. 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

  1. For VPC subnets and loadbalancers we should not allow users to set duplicate names.
  2. 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.]

Karthik-K-N avatar Apr 15 '24 13:04 Karthik-K-N

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/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was 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

k8s-triage-robot avatar Aug 15 '24 05:08 k8s-triage-robot

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/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was 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

k8s-triage-robot avatar Sep 14 '24 05:09 k8s-triage-robot

/remove-lifecycle rotten

Amulyam24 avatar Sep 17 '24 06:09 Amulyam24